IDataEnvironment::GetConnectionSchema Method (DesignerDataConnection^)

 

Gets the schema for the specified data connection.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

IDesignerDataSchema^ GetConnectionSchema(
	DesignerDataConnection^ connection
)

Parameters

connection
Type: System.ComponentModel.Design.Data::DesignerDataConnection^

The data connection for which to return schema information.

Return Value

Type: System.ComponentModel.Design.Data::IDesignerDataSchema^

An IDesignerDataSchema object containing the schema information for the specified data connection, or null if no schema information is available.

The GetConnectionSchema method returns the database schema for the specified data connection. If the schema is unavailable, or if the provider for the connection is unavailable, the GetConnectionSchema should return null.

.NET Framework
Available since 2.0
Return to top
Show: