Share via


SqlCeConnection.GetSchema 方法 (String, array<String[])

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

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

語法

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

returnValue = instance.GetSchema(collectionName, _
    restrictionValues)
public override DataTable GetSchema(
    string collectionName,
    string[] restrictionValues
)
public:
virtual DataTable^ GetSchema(
    String^ collectionName, 
    array<String^>^ restrictionValues
) override
abstract GetSchema : 
        collectionName:string * 
        restrictionValues:string[] -> DataTable 
override GetSchema : 
        collectionName:string * 
        restrictionValues:string[] -> DataTable 
public override function GetSchema(
    collectionName : String, 
    restrictionValues : String[]
) : DataTable

參數

  • restrictionValues
    型別:array<System.String[]
    限制值的集合。

傳回值

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

請參閱

參考

SqlCeConnection 類別

GetSchema 多載

System.Data.SqlServerCe 命名空間