This documentation is archived and is not being maintained.

WebConfigurationManager Methods

The WebConfigurationManager type exposes the following members.

  NameDescription
Public method Static member GetSection(String) Retrieves the specified configuration section from the current Web application's configuration file.
Public method Static member GetSection(String, String) Retrieves the specified configuration section from the Web application's configuration file at the specified location.
Public method Static member GetWebApplicationSection Retrieves the specified configuration section from the current Web application's configuration file.
Public method Static member OpenMachineConfiguration() Opens the machine-configuration file on the current computer as a Configuration object to allow read or write operations.
Public method Static member OpenMachineConfiguration(String) Opens the machine-configuration file on the current computer as a Configuration object to allow read or write operations.
Public method Static member OpenMachineConfiguration(String, String) Opens the specified machine-configuration file on the specified server as a Configuration object to allow read or write operations.
Public method Static member OpenMachineConfiguration(String, String, IntPtr) Opens the specified machine-configuration file on the specified server as a Configuration object, using the specified security context to allow read or write operations.
Public method Static member OpenMachineConfiguration(String, String, String, String) Opens the specified machine-configuration file on the specified server as a Configuration object, using the specified security context to allow read or write operations.
Public method Static member OpenMappedMachineConfiguration(ConfigurationFileMap) Opens the machine-configuration file as a Configuration object, using the specified file mapping to allow read or write operations.
Public method Static member OpenMappedMachineConfiguration(ConfigurationFileMap, String) Opens the machine-configuration file as a Configuration object using the specified file mapping and location to allow read or write operations.
Public method Static member OpenMappedWebConfiguration(WebConfigurationFileMap, String) Opens the specified Web-application configuration file as a Configuration object using the specified file mapping and virtual path to allow read or write operations.
Public method Static member OpenMappedWebConfiguration(WebConfigurationFileMap, String, String) Opens the specified Web application configuration file as a Configuration object using the specified file mapping, virtual path, and site name to allow read or write operations.
Public method Static member OpenMappedWebConfiguration(WebConfigurationFileMap, String, String, String) Opens the specified Web-application configuration file as a Configuration object using the specified file mapping, virtual path, site name, and location to allow read or write operations.
Public method Static member OpenWebConfiguration(String) Opens the Web-application configuration file as a Configuration object using the specified virtual path to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path and site name to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, and location to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, and server to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String, IntPtr) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.
Top
Show: