WebConfigurationMap Class
IIS 7.0
Specifies the paths of the Machine.config and Web.config files.
Namespace:
Microsoft.Web.Administration
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
The WebConfigurationMap type exposes the following members.
| Name | Description | |
|---|---|---|
|
WebConfigurationMap()()()() | Initializes a new instance of the WebConfigurationMap class by using the default path values for the Machine.Config and root Web.Config files. |
|
WebConfigurationMap(String, String) | Initializes a new instance of the WebConfigurationMap class by using the specified path values for the Machine.config and root Web.config files. |
| Name | Description | |
|---|---|---|
|
MachineConfigurationPath | Gets the file system path of the Machine.config file. |
|
RootWebConfigurationPath | Gets the file system path of the root Web.config file. |
You can use this class to provide configuration paths to methods such as ServerManager..::..GetAdministrationConfiguration and ServerManager..::..GetWebConfiguration.