Метод SfcHelper_GetDataTable
Executes the query string to retrieve the specified fields and return a fully populated DataTable object. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Function SfcHelper_GetDataTable ( _
connection As Object, _
urn As String, _
fields As String(), _
orderByFields As OrderBy() _
) As DataTable
'Применение
Dim instance As IAlienRoot
Dim connection As Object
Dim urn As String
Dim fields As String()
Dim orderByFields As OrderBy()
Dim returnValue As DataTable
returnValue = instance.SfcHelper_GetDataTable(connection, _
urn, fields, orderByFields)
DataTable SfcHelper_GetDataTable(
Object connection,
string urn,
string[] fields,
OrderBy[] orderByFields
)
DataTable^ SfcHelper_GetDataTable(
Object^ connection,
String^ urn,
array<String^>^ fields,
array<OrderBy^>^ orderByFields
)
abstract SfcHelper_GetDataTable :
connection:Object *
urn:string *
fields:string[] *
orderByFields:OrderBy[] -> DataTable
function SfcHelper_GetDataTable(
connection : Object,
urn : String,
fields : String[],
orderByFields : OrderBy[]
) : DataTable
Параметры
- connection
Тип: System. . :: . .Object
An object that contains the server connection details.
- urn
Тип: System. . :: . .String
The ....
- fields
Тип: array<System. . :: . .String> [] () [] []
The field names to retrieve.
- orderByFields
Тип: array<Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .OrderBy> [] () [] []
The field names to order on.
Возвращаемое значение
Тип: System.Data. . :: . .DataTable
A DataTable object that contains the results.