Compartir a través de


DataConnectionFactory.CreateDataConnectionImpl Method

This member supports the DDEX infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaración
Protected MustOverride Function CreateDataConnectionImpl ( _
    provider As Guid, _
    connectionString As String, _
    encryptedString As Boolean _
) As DataConnection
protected abstract DataConnection CreateDataConnectionImpl(
    Guid provider,
    string connectionString,
    bool encryptedString
)
protected:
virtual DataConnection^ CreateDataConnectionImpl(
    Guid provider, 
    String^ connectionString, 
    bool encryptedString
) abstract
abstract CreateDataConnectionImpl : 
        provider:Guid * 
        connectionString:string * 
        encryptedString:bool -> DataConnection 
protected abstract function CreateDataConnectionImpl(
    provider : Guid, 
    connectionString : String, 
    encryptedString : boolean
) : DataConnection

Parameters

  • provider
    Type: System.Guid
    The unique identifier of a data provider.
  • connectionString
    Type: System.String
    An unencrypted or encrypted string containing connection information.
  • encryptedString
    Type: System.Boolean
    Indicates whether the connectionString parameter is unencrypted or encrypted. Specifies true if encrypted.

Return Value

Type: Microsoft.VisualStudio.Data.DataConnection
Returns a DataConnection object instance.

.NET Framework Security

See Also

Reference

DataConnectionFactory Class

Microsoft.VisualStudio.Data Namespace

CreateDataConnection