Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbConnection::GetSchema Method

 

Returns schema information for the data source of this DbConnection.

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

NameDescription
System_CAPS_pubmethodGetSchema()

Returns schema information for the data source of this DbConnection.

System_CAPS_pubmethodGetSchema(String^)

Returns schema information for the data source of this DbConnection using the specified string for the schema name.

System_CAPS_pubmethodGetSchema(String^, array<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.

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

Return to top
Show:
© 2017 Microsoft