AdoDotNetConnectionProperties Constructor (String)

Class constructor. Instantiates a parameterized instance of the AdoDotNetConnectionProperties class that provides the ADO.NET provider name.

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

Syntax

'宣言
Public Sub New ( _
    providerName As String _
)
'使用
Dim providerName As String

Dim instance As New AdoDotNetConnectionProperties(providerName)
public AdoDotNetConnectionProperties(
    string providerName
)
public:
AdoDotNetConnectionProperties(
    String^ providerName
)
public function AdoDotNetConnectionProperties(
    providerName : String
)

Parameters

  • providerName
    Type: System.String

    Invariant name of the ADO.NET provider.

Remarks

The implementation of this constructor calls the ADO.NET provider's DbProviderFactory to create an instance of the connection string builder.

Permissions

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Members

AdoDotNetConnectionProperties Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace

DbProviderFactory