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
'Declaración
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
- 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 Overload