Метод StatementBuilder.AddOrderBy (String, String, OrderBy.Direction)
Adds order by clause using name if the property appears in the select list if not, by value. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Sub AddOrderBy ( _
prop As String, _
orderByValue As String, _
dir As OrderBy.Direction _
)
'Применение
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
)
Параметры
- prop
Тип: System.String
The property of the object.
- orderByValue
Тип: System.String
The order by value.
- dir
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction
The direction of the order.