System.ComponentModel.Design.Data.IDataEnvironment.Connections Property

Gets a collection of data connections defined in the current design session.

Syntax

public ICollection Connections { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The IDataEnvironment.Connections property returns the set of connections available at design time. Your implementation of the IDataEnvironment.Connections property can return either the list of connections defined in the current Web application, or a list of connections defined at a global level, such as a list of data connections maintained by the design environment.

Each connection in the collection should have a unique connection string. If your collection includes both connections from the application's configuration file and global connections, your implementation must handle the case where connections from the global list and the configuration file have the same connection string. In this case, it is recommended that you eliminate duplicates and use the configuration-file connection only.

Requirements

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