Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Configuration::ConnectionStrings Property

 

Gets a ConnectionStringsSection configuration-section object that applies to this Configuration object.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
property ConnectionStringsSection^ ConnectionStrings {
	ConnectionStringsSection^ get();
}

Property Value

Type: System.Configuration::ConnectionStringsSection^

A ConnectionStringsSection configuration-section object representing the connectionStrings configuration section that applies to this Configuration object.

Use the ConnectionStrings property to access and change the connectionStrings configuration section defined in the open configuration file.

The following code example demonstrates how to use the ConnectionStrings property.

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

.NET Framework
Available since 2.0
Return to top
Show: