Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures the location of the ApplicationHost.config and Administration.config files.
Syntax
class ConfigurationRedirectionSection : ConfigurationSection
Methods
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 .) |
Properties
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 (""). |
Subclasses
This class contains no subclasses.
Remarks
Configuration redirection settings are stored in the Redirection.config file. By default, this file is located in the %windir%\system32\inetsrv\config directory.
Inheritance Hierarchy
ConfigurationRedirectionSection
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
MOF file | WebAdministration.mof |