Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a data connection. This method should not be called by client code.
Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected MustOverride Function CreateDataConnection ( _
    provider As Guid, _
    connectionString As String, _
    encryptedString As Boolean _
) As DataConnection
protected abstract DataConnection CreateDataConnection(
    Guid provider,
    string connectionString,
    bool encryptedString
)
protected:
virtual DataConnection^ CreateDataConnection(
    Guid provider, 
    String^ connectionString, 
    bool encryptedString
) abstract
abstract CreateDataConnection : 
        provider:Guid * 
        connectionString:string * 
        encryptedString:bool -> DataConnection 
protected abstract function CreateDataConnection(
    provider : Guid, 
    connectionString : String, 
    encryptedString : boolean
) : DataConnection
Parameters
- provider
 Type: System.Guid
 DDEX provider GUID.
- connectionString
 Type: System.String
 DDEX provider connection string.
- encryptedString
 Type: System.Boolean
 Indication whether the connection string information is encrypted (true if encrypted.)
Return Value
Type: Microsoft.VisualStudio.Data.DataConnection
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 method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.