Export (0) Print
Expand All

SqlConnection.GetSchema Method

Returns schema information for the data source of this SqlConnection.

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

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

If you attempt to retrieve schema information for more than one versioned stored procedure, the schema for the latest one only is returned. For more information on versioned stored procedures, see SQL Server Books Online.

Community Additions

ADD
Show:
© 2014 Microsoft