WebConfigurationMap Class

Definition

Specifies the paths of the Machine.config and Web.config files.

public ref class WebConfigurationMap
public class WebConfigurationMap
type WebConfigurationMap = class
Public Class WebConfigurationMap
Inheritance
WebConfigurationMap

Remarks

You can use this class to provide configuration paths to methods such as Microsoft.Web.Administration.ServerManager.GetAdministrationConfiguration and Microsoft.Web.Administration.ServerManager.GetWebConfiguration.

Constructors

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.

Properties

MachineConfigurationPath

Gets the file system path of the Machine.config file.

RootWebConfigurationPath

Gets the file system path of the root Web.config file.

Applies to