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.StringInvariant name of the ADO.NET provider.
connectionString
Type: System.StringConnection string for the specified provider.
.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