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.