Retrieving a Data Source Connection
Connections to DDEX data sources are maintained as instances of the IVsDataConnection object. Individual object instances are identified by using two pieces of connection data: the associated DDEX provider GUID and the connection string.
When a connection uses existing connection data, see How to: Retrieve a Connection Using Existing Connection Data.
When a new connection is being created by using user inputs, see How to: Retrieve a Connection Based on User Input.
In This Section
How to: Retrieve a Connection Based on User Input
Describes how to retrieve a data connection object instance by using inputs from the user.How to: Retrieve a Connection Using Existing Connection Data
Describes how to retrieve a data connection object instance where connection data already exists.
Related Sections
DDEX Data Connection UI
Provides guidance for customizing data connection user interface.IVsDataConnection
Supports a connection to a data source.IVsDataConnectionDialog
Provides access to the Data Connection dialog box with which to obtain data connection information from users.IVsDataConnectionDialogFactory
Provides the ability to create an instance of the IVsDataConnectionDialog interface