Partager via


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

'Declaration
Public Sub New ( _
    providerName As String _
)
public AdoDotNetConnectionProperties(
    string providerName
)
public:
AdoDotNetConnectionProperties(
    String^ providerName
)
new : 
        providerName:string -> AdoDotNetConnectionProperties
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.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace

DbProviderFactory