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
参数
- collectionName
类型:System.String
架构名称。
- restrictionValues
类型:array<System.String[]
一组限制值。
返回值
类型:System.Data.DataTable
包含架构信息的 DataTable。