<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.0-preview.6.24327.7" />

ConnectionStringsSection

Provides programmatic access to the connection strings configuration-file section.
namespace System.Configuration { public sealed class ConnectionStringsSection : ConfigurationSection { private static readonly ConfigurationProperty s_propConnectionStrings = new ConfigurationProperty(null, typeof(ConnectionStringSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); private static readonly ConfigurationPropertyCollection s_properties = new ConfigurationPropertyCollection { s_propConnectionStrings }; protected internal override ConfigurationPropertyCollection Properties => s_properties; [ConfigurationProperty("", Options = ConfigurationPropertyOptions.IsDefaultCollection)] public ConnectionStringSettingsCollection ConnectionStrings { get { return (ConnectionStringSettingsCollection)base[s_propConnectionStrings]; } } protected internal override object GetRuntimeObject() { SetReadOnly(); return this; } } }