WebConfigurationMap Constructor

IIS 7.0
 

Initializes a new instance of the WebConfigurationMap class.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

NameDescription
System_CAPS_pubmethodWebConfigurationMap()

Initializes a new instance of the WebConfigurationMap class by using the default path values for the Machine.Config and root Web.Config files.

System_CAPS_pubmethodWebConfigurationMap(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.

You can use the WebConfigurationMap class to provide configuration paths to methods such as ServerManager.GetAdministrationConfiguration and ServerManager.GetWebConfiguration.

A WebConfigurationManager object uses the default physical path values if a default (empty) WebConfigurationMap object is passed as a parameter to the WebConfigurationManager methods.

Return to top
Show: