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
'宣言
Public Sub New ( _
providerName As String, _
connectionString As String _
)
'使用
Dim providerName As String
Dim connectionString As String
Dim instance As New AdoDotNetConnectionProperties(providerName, _
connectionString)
public AdoDotNetConnectionProperties(
string providerName,
string connectionString
)
public:
AdoDotNetConnectionProperties(
String^ providerName,
String^ connectionString
)
public function AdoDotNetConnectionProperties(
providerName : String,
connectionString : String
)
Parameters
providerName
Type: System.StringInvariant name of the ADO.NET provider.
connectionString
Type: System.StringConnection string for the specified provider.
Permissions
- 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.
See Also
Reference
AdoDotNetConnectionProperties Class
AdoDotNetConnectionProperties Members