System.ComponentModel.Design.Data.IDataEnvironment.GetConnectionSchema Method

Gets the schema for the specified data connection.

Syntax

public IDesignerDataSchema GetConnectionSchema (DesignerDataConnection connection)

Parameters

connection
The data connection for which to return schema information.

Returns

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

Remarks

The IDataEnvironment.GetConnectionSchema(DesignerDataConnection) 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 IDataEnvironment.GetConnectionSchema(DesignerDataConnection) should return null.

Requirements

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