Npgsql Api Docs

NpgsqlConnection.GetSchema Method (String, String[])

Returns the schema collection specified by the collection name filtered by the restrictions.

[Visual Basic]
Overrides Overloads Public Function GetSchema( _
   ByVal collectionName As String, _
   ByVal restrictions As String() _
) As DataTable
[C#]
public override DataTable GetSchema(
   string collectionName,
   string[] restrictions
);

Parameters

collectionName
The collection name.
restrictions
The restriction values to filter the results. A description of the restrictions is contained in the Restrictions collection.

Return Value

The collection specified.

See Also

NpgsqlConnection Class | Npgsql Namespace | NpgsqlConnection.GetSchema Overload List