Export (0) Print
Expand All

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)

type WebConfigurationMap =  class end

The WebConfigurationMap type exposes the following members.

  NameDescription
Public methodWebConfigurationMap()()()()Initializes a new instance of the WebConfigurationMap class by using the default path values for the Machine.Config and root Web.Config files.
Public methodWebConfigurationMap(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

  NameDescription
Public propertyMachineConfigurationPathGets the file system path of the Machine.config file.
Public propertyRootWebConfigurationPathGets the file system path of the root Web.config file.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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.

Community Additions

ADD
Show:
© 2014 Microsoft