ConnectionStringSettings Constructor (String^, String^, String^)
.NET Framework (current version)
Initializes a new instance of a ConnectionStringSettings object.
Assembly: System.Configuration (in System.Configuration.dll)
public:
ConnectionStringSettings(
String^ name,
String^ connectionString,
String^ providerName
)
Parameters
- name
-
Type:
System::String^
The name of the connection string.
- connectionString
-
Type:
System::String^
The connection string.
- providerName
-
Type:
System::String^
The name of the provider to use with the connection string.
The following example shows how to create a ConnectionStringSettings object and add it to a ConnectionStringSettingsCollection collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: