Visual Basic (Declaration) | |
---|---|
Public Function GetConnectionStringSettings() As ConnectionStringSettings |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DataAccessConfigurationView Dim value As ConnectionStringSettings value = instance.GetConnectionStringSettings() |
C# | |
---|---|
public ConnectionStringSettings GetConnectionStringSettings() |
C++/CLI | |
---|---|
public: ConnectionStringSettings^ GetConnectionStringSettings(); |
Return Value
The System.Configuration.ConnectionStringSettings from configuration.The connection string will be retrieved from the configuration source if it contains the connection strings section, otherwise it will be retrieved from the default configuration file.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7