Share via


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
)

매개 변수

참고 항목

참조

StatementBuilder 클래스

AddOrderBy 오버로드

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스