共用方式為


IAlienRoot.SfcHelper_GetSmoObjectQuery 方法

Processes the specified query string and returns a list of SMO URN. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Function SfcHelper_GetSmoObjectQuery ( _
    queryString As String, _
    fields As String(), _
    orderByFields As OrderBy() _
) As List(Of String)
'用途
Dim instance As IAlienRoot 
Dim queryString As String 
Dim fields As String()
Dim orderByFields As OrderBy()
Dim returnValue As List(Of String)

returnValue = instance.SfcHelper_GetSmoObjectQuery(queryString, _
    fields, orderByFields)
List<string> SfcHelper_GetSmoObjectQuery(
    string queryString,
    string[] fields,
    OrderBy[] orderByFields
)
List<String^>^ SfcHelper_GetSmoObjectQuery(
    String^ queryString, 
    array<String^>^ fields, 
    array<OrderBy^>^ orderByFields
)
abstract SfcHelper_GetSmoObjectQuery : 
        queryString:string * 
        fields:string[] * 
        orderByFields:OrderBy[] -> List<string> 
function SfcHelper_GetSmoObjectQuery(
    queryString : String, 
    fields : String[], 
    orderByFields : OrderBy[]
) : List<String>

參數

  • queryString
    型別:System.String
    The query string to process.
  • fields
    型別:array<System.String[]
    The field names to retrieve.

傳回值

型別:System.Collections.Generic.List<String>
A T:System.Collections.Generic.List`1 object that contains the SMO URNs.

請參閱

參考

IAlienRoot 介面

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間