DataConnectionManager.CreateDataConnection(Guid, String, Boolean) Method

Definition

Initializes a data connection. This method should not be called by client code.

C++
protected:
 abstract Microsoft::VisualStudio::Data::DataConnection ^ CreateDataConnection(Guid provider, System::String ^ connectionString, bool encryptedString);

Parameters

provider
Guid

DDEX provider GUID.

connectionString
String

DDEX provider connection string.

encryptedString
Boolean

Indication whether the connection string information is encrypted (true if encrypted.)

Returns

This method is part of the DDEX infrastructure and is not intended to be called from your code.To obtain an existing or create a new connection, use the GetDataConnection(Guid, String, Boolean) method.

Applies to

Produit Versions
Visual Studio SDK 2017, 2019, 2022