Share via


IVsDataConnectionDialog.LoadExistingConfiguration Method

Definition

Configures the Add Connection dialog box with the specified existing DDEX provider and connection string, deriving the correct data source when possible.

public:
 void LoadExistingConfiguration(Guid provider, System::String ^ connectionString, bool encryptedString);
public void LoadExistingConfiguration (Guid provider, string connectionString, bool encryptedString);
abstract member LoadExistingConfiguration : Guid * string * bool -> unit
Public Sub LoadExistingConfiguration (provider As Guid, connectionString As String, encryptedString As Boolean)

Parameters

provider
Guid

A Guid object specifying a DDEX provider.

connectionString
String

A connection string recognized by the data provider.

encryptedString
Boolean

A Boolean value indicating whether the connection string parameter is encrypted.

Exceptions

The provider is an empty GUID and/or connectionString is null.

The specified provider is unknown to the dialog box.

Applies to