DbConnection::GetSchema Method
Returns schema information for the data source of this DbConnection.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | GetSchema() | Returns schema information for the data source of this DbConnection. |
![]() | GetSchema(String^) | Returns schema information for the data source of this DbConnection using the specified string for the schema name. |
![]() | GetSchema(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.
