This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.