SfcObjectQuery.ExecuteDataTable 메서드
Executes the query string to retrieve the specified fields and return a fully populated data table. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Function ExecuteDataTable ( _
query As SfcQueryExpression, _
fields As String(), _
orderByFields As OrderBy() _
) As DataTable
‘사용 방법
Dim instance As SfcObjectQuery
Dim query As SfcQueryExpression
Dim fields As String()
Dim orderByFields As OrderBy()
Dim returnValue As DataTable
returnValue = instance.ExecuteDataTable(query, _
fields, orderByFields)
public DataTable ExecuteDataTable(
SfcQueryExpression query,
string[] fields,
OrderBy[] orderByFields
)
public:
DataTable^ ExecuteDataTable(
SfcQueryExpression^ query,
array<String^>^ fields,
array<OrderBy^>^ orderByFields
)
member ExecuteDataTable :
query:SfcQueryExpression *
fields:string[] *
orderByFields:OrderBy[] -> DataTable
public function ExecuteDataTable(
query : SfcQueryExpression,
fields : String[],
orderByFields : OrderBy[]
) : DataTable
매개 변수
- query
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
The query string to process.
- fields
유형: array<System.String[]
The field names to retrieve. If null, all default inexpensive fields are retrieved.
- orderByFields
유형: array<Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy[]
The field names that we need to order on. If null, no order will be used.
반환 값
유형: System.Data.DataTable
The data table of results.