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.StringInvariant 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
- 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
AdoDotNetConnectionProperties Overload