Export (0) Print
Expand All

DbConnection.GetSchema Method

Returns schema information for the data source of this DbConnection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetSchema() Returns schema information for the data source of this DbConnection.
Public method GetSchema(String) Returns schema information for the data source of this DbConnection using the specified string for the schema name.
Public method GetSchema(String, String[]) Returns schema information for the data source of this DbConnection using the specified string for the schema name and the specified string array for the restriction values.
Top

If the connection is associated with a transaction, executing GetSchema calls may cause some providers to throw an exception.

Show:
© 2014 Microsoft