Visual Basic (Declaration) | |
---|---|
Public Function GetConnectionStringSettingsCollection() As IEnumerable(Of ConnectionStringSettings) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DataAccessConfigurationView Dim value As IEnumerable(Of ConnectionStringSettings) value = instance.GetConnectionStringSettingsCollection() |
C# | |
---|---|
public IEnumerable<ConnectionStringSettings> GetConnectionStringSettingsCollection() |
C++/CLI | |
---|---|
public: IEnumerable<ConnectionStringSettings^>^ GetConnectionStringSettingsCollection(); |
Return Value
The enumeration of available System.Configuration.ConnectionStringSettings.The connection strings will be retrieved from the configuration source if it contains the connection strings section, otherwise they 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