Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ConfigurationRedirectionSection Class [IIS 7 and higher]

IIS 7.0

Configures the location of the ApplicationHost.config and Administration.config files.

class ConfigurationRedirectionSection : ConfigurationSection

The following table lists the methods exposed by the ConfigurationRedirectionSection class.

Name

Description

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

The following table lists the properties exposed by the ConfigurationRedirectionSection class.

Name

Description

Enabled

A read/write boolean value. true if the location of the ApplicationHost.config and Administration.config files is redirected to the location specified by the RedirectionPath property; otherwise, false. The default is false.

Location

(Inherited from ConfigurationSection.) A key property.

Password

A case-sensitive read/write encrypted string value that specifies the password of the identity that the configuration system impersonates when it reads the configuration files at the location specified by the RedirectionPath property. The default is "[enc:RsaProtectedConfigurationProvider::enc]".

Path

(Inherited from ConfigurationSection.) A key property.

RedirectionPath

A read/write string value that specifies the path of the location (for example, a UNC share) of the redirected ApplicationHost.config and Administration.config files. The default is an empty string ("").

SectionInformation

(Inherited from ConfigurationSection.)

UserName

A read/write string value that specifies the user name of the identity that the configuration system impersonates when it reads the configuration files at the location specified by the RedirectionPath property. The default is an empty string ("").

This class contains no subclasses.

Configuration redirection settings are stored in the Redirection.config file. By default, this file is located in the %windir%\system32\inetsrv\config directory.

ConfigurationSection

   ConfigurationRedirectionSection

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.