Share via


DataConnectionManager.CreateDataConnection(Guid, String, Boolean) Method

Definition

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

protected:
 abstract Microsoft::VisualStudio::Data::DataConnection ^ CreateDataConnection(Guid provider, System::String ^ connectionString, bool encryptedString);
protected abstract Microsoft.VisualStudio.Data.DataConnection CreateDataConnection (Guid provider, string connectionString, bool encryptedString);
abstract member CreateDataConnection : Guid * string * bool -> Microsoft.VisualStudio.Data.DataConnection
Protected MustOverride Function CreateDataConnection (provider As Guid, connectionString As String, encryptedString As Boolean) As DataConnection

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