WebConfigurationMap WebConfigurationMap WebConfigurationMap 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
WebConfigurationMapWebConfigurationMapWebConfigurationMapWebConfigurationMap

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() WebConfigurationMap() WebConfigurationMap() 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) WebConfigurationMap(String, String) WebConfigurationMap(String, String) 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 MachineConfigurationPath MachineConfigurationPath MachineConfigurationPath

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

RootWebConfigurationPath RootWebConfigurationPath RootWebConfigurationPath RootWebConfigurationPath

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

Applies to