Metoda IAlienRoot.SfcHelper_GetSmoObjectQuery
Przetwarza ciąg kwerendy i zwraca listę obiektów SMO URN.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Function SfcHelper_GetSmoObjectQuery ( _
queryString As String, _
fields As String(), _
orderByFields As OrderBy() _
) As List(Of String)
'Użycie
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>
Parametry
- queryString
Typ: System.String
Ciąg kwerendy do przetworzenia.
- fields
Typ: array<System.String[]
Nazwy pole do pobrania.
- orderByFields
Typ: array<Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy[]
Nazwy pole Zamówienie na.
Wartość zwracana
Typ: System.Collections.Generic.List<String>
Obiekt T:System.Collections.Generic.List'1, który zawiera urny SMO.