Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Adds order by clause using name if the property appears in the select list if not, by value. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub AddOrderBy ( _
prop As String, _
orderByValue As String, _
dir As OrderBy.Direction _
)
'Utilisation
Dim instance As StatementBuilder
Dim prop As String
Dim orderByValue As String
Dim dir As OrderBy.Direction
instance.AddOrderBy(prop, orderByValue, _
dir)
public void AddOrderBy(
string prop,
string orderByValue,
OrderBy.Direction dir
)
public:
void AddOrderBy(
String^ prop,
String^ orderByValue,
OrderBy.Direction dir
)
member AddOrderBy :
prop:string *
orderByValue:string *
dir:OrderBy.Direction -> unit
public function AddOrderBy(
prop : String,
orderByValue : String,
dir : OrderBy.Direction
)
Paramètres
- prop
Type : System.String
The property of the object.
- orderByValue
Type : System.String
The order by value.
- dir
Type : Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction
The direction of the order.