IVsDataConnectionDialog.LoadExistingConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.