SqlCeConnection.GetSchema Method (String, array<String[])

Returns schema information for the data source of this SqlCeConnection using the specified string for the schema name and the specified string array for the restriction values.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Function GetSchema ( _
    collectionName As String, _
    restrictionValues As String() _
) As DataTable
'Usage
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

Parameters

  • restrictionValues
    Type: array<System.String[]
    A set of restriction values.

Return Value

Type: System.Data.DataTable
A DataTable that contains schema information.

See Also

Reference

SqlCeConnection Class

GetSchema Overload

System.Data.SqlServerCe Namespace