Partager via


AdoDotNetConnectionProperties Constructor (String, String)

Parameterized class constructor. Instantiates a parameterized instance of the AdoDotNetConnectionProperties class that provides the ADO.NET provider invariant name and a provider connection string.

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

Syntax

'Declaration
Public Sub New ( _
    providerName As String, _
    connectionString As String _
)
public AdoDotNetConnectionProperties(
    string providerName,
    string connectionString
)
public:
AdoDotNetConnectionProperties(
    String^ providerName, 
    String^ connectionString
)
new : 
        providerName:string * 
        connectionString:string -> AdoDotNetConnectionProperties
public function AdoDotNetConnectionProperties(
    providerName : String, 
    connectionString : String
)

Parameters

  • providerName
    Type: System.String

    Invariant name of the ADO.NET provider.

  • connectionString
    Type: System.String

    Connection string for the specified provider.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace