System.Net.Configuration.ConnectionManagementSectionInternal.GetSection C# (CSharp) Method

GetSection() static private method

static private GetSection ( ) : ConnectionManagementSectionInternal
return ConnectionManagementSectionInternal
        static internal ConnectionManagementSectionInternal GetSection()
        {
            lock (ConnectionManagementSectionInternal.ClassSyncObject)
            {
                ConnectionManagementSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.ConnectionManagementSectionPath) as ConnectionManagementSection; 
                if (section == null)
                    return null;
                
                return new ConnectionManagementSectionInternal(section);
            }
        }
ConnectionManagementSectionInternal