Freigeben über


SfcHelper_GetDataTable-Methode

Executes the query string to retrieve the specified fields and return a fully populated DataTable object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function SfcHelper_GetDataTable ( _
    connection As Object, _
    urn As String, _
    fields As String(), _
    orderByFields As OrderBy() _
) As DataTable
'Usage
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

Parameter

Rückgabewert

Typ: System.Data. . :: . .DataTable
A DataTable object that contains the results.