共用方式為


DataProvider.GetSchemaTable 方法

Gets a schema table that describes the column metadata. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function GetSchemaTable As DataTable
'用途
Dim instance As DataProvider 
Dim returnValue As DataTable 

returnValue = instance.GetSchemaTable()
public DataTable GetSchemaTable()
public:
virtual DataTable^ GetSchemaTable() sealed
abstract GetSchemaTable : unit -> DataTable  
override GetSchemaTable : unit -> DataTable
public final function GetSchemaTable() : DataTable

傳回值

型別:System.Data.DataTable
A schema table that describes the column metadata.

實作

IDataReader.GetSchemaTable()

請參閱

參考

DataProvider 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間