DataConnectionManager.CreateDataConnection(Guid, String, Boolean) 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.
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.