e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="PrivilegedConfigurationManager.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
namespace System.Configuration {
|
|
|
|
using System.Collections.Specialized;
|
|
using System.Security;
|
|
using System.Security.Permissions;
|
|
|
|
[ConfigurationPermission(SecurityAction.Assert, Unrestricted=true)]
|
|
internal static class PrivilegedConfigurationManager {
|
|
internal static ConnectionStringSettingsCollection ConnectionStrings {
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
get {
|
|
return ConfigurationManager.ConnectionStrings;
|
|
}
|
|
}
|
|
|
|
internal static object GetSection(string sectionName) {
|
|
return ConfigurationManager.GetSection(sectionName);
|
|
}
|
|
}
|
|
}
|