0 out of 1 rated this helpful - Rate this topic

WebConfigurationMap Class

IIS 7.0

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

System..::..Object
  Microsoft.Web.Administration..::..WebConfigurationMap

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
public class WebConfigurationMap

The WebConfigurationMap type exposes the following members.

  Name Description
Public method WebConfigurationMap()()()() Initializes a new instance of the WebConfigurationMap class by using the default path values for the Machine.Config and root Web.Config files.
Public method 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.
Top
  Name Description
Public property MachineConfigurationPath Gets the file system path of the Machine.config file.
Public property RootWebConfigurationPath Gets the file system path of the root Web.config file.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ