共用方式為


. 方法

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Private Function SfcHelper_GetSmoObjectQuery ( _
    urn As String, _
    fields As String(), _
    orderByFields As OrderBy() _
) As List(Of String) Implements IAlienRoot.SfcHelper_GetSmoObjectQuery
'用途
Dim instance As Server
Dim urn As String
Dim fields As String()
Dim orderByFields As OrderBy()
Dim returnValue As List(Of String)

returnValue = CType(instance, IAlienRoot).SfcHelper_GetSmoObjectQuery(urn, _
    fields, orderByFields)
List<string> IAlienRoot.SfcHelper_GetSmoObjectQuery(
    string urn,
    string[] fields,
    OrderBy[] orderByFields
)
private:
virtual List<String^>^ SfcHelper_GetSmoObjectQuery(
    String^ urn, 
    array<String^>^ fields, 
    array<OrderBy^>^ orderByFields
) sealed = IAlienRoot::SfcHelper_GetSmoObjectQuery
private abstract SfcHelper_GetSmoObjectQuery : 
        urn:string * 
        fields:string[] * 
        orderByFields:OrderBy[] -> List<string> 
private override SfcHelper_GetSmoObjectQuery : 
        urn:string * 
        fields:string[] * 
        orderByFields:OrderBy[] -> List<string> 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

  • orderByFields
    型別:array<OrderBy> [] () [] []

傳回值

型別:System.Collections.Generic. . :: . .List< (Of < ( <'String> ) > ) >

實作

IAlienRootSfcHelper_GetSmoObjectQuery(String, array<String>[]()[][], array<OrderBy>[]()[][])