ConnectionStrings Property
See Also 
SourceCode.Configuration Namespace > ConfigurationManager Class : ConnectionStrings Property



Glossary Item Box

Gets the connection strings.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly Property ConnectionStrings As ConnectionStringsSection
Visual Basic (Usage)Copy Code
Dim value As ConnectionStringsSection
 
value = ConfigurationManager.ConnectionStrings
C# 
public static ConnectionStringsSection ConnectionStrings {get;}
C++/CLI 
public:
static property ConnectionStringsSection^ ConnectionStrings {
   ConnectionStringsSection^ get();
}

Property Value

The connection strings.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also