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.