Udostępnij za pośrednictwem


DataConnectionDialog.LoadExistingConfiguration(Guid, String, Boolean) Method

Definition

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

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

Parameters

provider
Guid

GUID specifying a DDEX provider.

connectionString
String

A connection string recognized by the data provider.

encryptedString
Boolean

Boolean indication 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.

Applies to