แก้ไข

แชร์ผ่าน


IDataEnvironment.GetConnectionSchema(DesignerDataConnection) Method

Definition

Gets the schema for the specified data connection.

public:
 System::ComponentModel::Design::Data::IDesignerDataSchema ^ GetConnectionSchema(System::ComponentModel::Design::Data::DesignerDataConnection ^ connection);
public System.ComponentModel.Design.Data.IDesignerDataSchema GetConnectionSchema (System.ComponentModel.Design.Data.DesignerDataConnection connection);
abstract member GetConnectionSchema : System.ComponentModel.Design.Data.DesignerDataConnection -> System.ComponentModel.Design.Data.IDesignerDataSchema
Public Function GetConnectionSchema (connection As DesignerDataConnection) As IDesignerDataSchema

Parameters

connection
DesignerDataConnection

The data connection for which to return schema information.

Returns

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

Remarks

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.

Applies to