ConnectionStringSettings Constructor (String^, String^, String^)

 

Initializes a new instance of a ConnectionStringSettings object.

Namespace:   System.Configuration
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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: