System.Web.Configuration.WebConfigurationManager Members

The members of System.Web.Configuration.WebConfigurationManager are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
AppSettingsSystem.Collections.Specialized.NameValueCollection.

Gets the Web site's application settings.

[read-only]
static
ConnectionStringsSystem.Configuration.ConnectionStringSettingsCollection.

Gets the Web site's connection strings.

Public Methods

static
GetSection(string) : object

Retrieves the specified configuration section from the current Web application's configuration file.

static
GetSection(string, string) : object

Retrieves the specified configuration section from the Web application's configuration file at the specified location.

static
GetWebApplicationSection(string) : object

Retrieves the specified configuration section from the current Web application's configuration file.

static
OpenMachineConfiguration() : System.Configuration.Configuration

Opens the machine-configuration file on the current computer as a System.Configuration.Configuration object to allow read or write operations.

static
OpenMachineConfiguration(string) : System.Configuration.Configuration

Opens the machine-configuration file on the current computer as a System.Configuration.Configuration object to allow read or write operations.

static
OpenMachineConfiguration(string, string) : System.Configuration.Configuration

Opens the specified machine-configuration file on the specified server as a System.Configuration.Configuration object to allow read or write operations.

static
OpenMachineConfiguration(string, string, IntPtr) : System.Configuration.Configuration

Opens the specified machine-configuration file on the specified server as a System.Configuration.Configuration object, using the specified security context to allow read or write operations.

static
OpenMachineConfiguration(string, string, string, string) : System.Configuration.Configuration

Opens the specified machine-configuration file on the specified server as a System.Configuration.Configuration object, using the specified security context to allow read or write operations.

static
OpenMappedMachineConfiguration(System.Configuration.ConfigurationFileMap) : System.Configuration.Configuration

Opens the machine-configuration file as a System.Configuration.Configuration object, using the specified file mapping to allow read or write operations.

static
OpenMappedMachineConfiguration(System.Configuration.ConfigurationFileMap, string) : System.Configuration.Configuration

Opens the machine-configuration file as a System.Configuration.Configuration object using the specified file mapping and location to allow read or write operations.

static
OpenMappedWebConfiguration(WebConfigurationFileMap, string) : System.Configuration.Configuration

Opens the specified Web-application configuration file as a System.Configuration.Configuration object using the specified file mapping and virtual path to allow read or write operations.

static
OpenMappedWebConfiguration(WebConfigurationFileMap, string, string) : System.Configuration.Configuration

Opens the specified Web application configuration file as a System.Configuration.Configuration object using the specified file mapping, virtual path, and site name to allow read or write operations.

static
OpenMappedWebConfiguration(WebConfigurationFileMap, string, string, string) : System.Configuration.Configuration

Opens the specified Web-application configuration file as a System.Configuration.Configuration object using the specified file mapping, virtual path, site name, and location to allow read or write operations.

static
OpenWebConfiguration(string) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path to allow read or write operations.

static
OpenWebConfiguration(string, string) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path and site name to allow read or write operations.

static
OpenWebConfiguration(string, string, string) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path, site name, and location to allow read or write operations.

static
OpenWebConfiguration(string, string, string, string) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path, site name, location, and server to allow read or write operations.

static
OpenWebConfiguration(string, string, string, string, IntPtr) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.

static
OpenWebConfiguration(string, string, string, string, string, string) : System.Configuration.Configuration

Opens the Web-application configuration file as a System.Configuration.Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.