Share via


SqlCeConnection.GetSchema 方法 (String)

使用結構描述名稱的指定字串,傳回這個 SqlCeConnection 的資料來源結構描述資訊。

命名空間:  System.Data.SqlServerCe
組件:  System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)

語法

'宣告
Public Overrides Function GetSchema ( _
    collectionName As String _
) As DataTable
'用途
Dim instance As SqlCeConnection
Dim collectionName As String
Dim returnValue As DataTable

returnValue = instance.GetSchema(collectionName)
public override DataTable GetSchema(
    string collectionName
)
public:
virtual DataTable^ GetSchema(
    String^ collectionName
) override
abstract GetSchema : 
        collectionName:string -> DataTable 
override GetSchema : 
        collectionName:string -> DataTable 
public override function GetSchema(
    collectionName : String
) : DataTable

參數

傳回值

型別:System.Data.DataTable
包含結構描述資訊的 DataTable

請參閱

參考

SqlCeConnection 類別

GetSchema 多載

System.Data.SqlServerCe 命名空間