DbConnection.GetSchema Method ()
Returns schema information for the data source of this DbConnection.
Assembly: System.Data (in System.Data.dll)
If the connection is associated with a transaction, executing GetSchema calls may cause some providers to throw an exception.
.NET Framework
Available since 2.0
Available since 2.0