This documentation is archived and is not being maintained.

IDataEnvironment Interface

Defines an interface to data services that enables control designers to integrate data store or database-related functionality into their design environment.

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

Public Interface IDataEnvironment
Dim instance As IDataEnvironment

An object that implements the IDataEnvironment interface can access the data connections available to an application at design time. The IDataEnvironment interface provides methods to list available data connections, create new data connections, retrieve schema information from a connection, and save data-connection configuration information to the application's configuration file.

The IDataEnvironment interface enables you to interact with data connections in the design environment, but it is not intended as a data-management API.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0