ConfigurationRedirectionSection クラス

ApplicationHost.config ファイルと Administration.config ファイルの場所を構成します。

構文

class ConfigurationRedirectionSection : ConfigurationSection  

メソッド

次の表に、ConfigurationRedirectionSection クラスによって公開されるメソッドの一覧を示します。

名前 説明
GetAllowDefinition (ConfigurationSection から継承。)
GetAllowLocation (ConfigurationSection から継承。)
RevertToParent (ConfigurationSection から継承。)
SetAllowDefinition (ConfigurationSection から継承。)
SetAllowLocation (ConfigurationSection から継承。)

プロパティ

次の表は、ConfigurationRedirectionSection クラスによって公開されるプロパティの一覧です。

名前 説明
Enabled 読み取り/書き込みの boolean 値。 ApplicationHost.config ファイルと Administration.config ファイルの場所が RedirectionPath プロパティで指定された場所にリダイレクトされる場合は true。それ以外の場合は false.。既定値は false です。
Location (ConfigurationSection から継承。)キー プロパティ。
Password RedirectionPath プロパティで指定された場所にある構成ファイルを読み取るときに構成システムが偽装する ID のパスワードを指定する、大文字と小文字を区別する読み取り/書き込みの暗号化された string 値。 既定値は "[enc:RsaProtectedConfigurationProvider::enc]" です。
Path (ConfigurationSection から継承。)キー プロパティ。
RedirectionPath リダイレクトされた ApplicationHost.config ファイルと Administration.config ファイルの場所 (UNC 共有など) のパスを指定する、読み取り/書き込みの string 値。 既定値は、空の文字列 ("") です。
SectionInformation (ConfigurationSection から継承。)
UserName 構成システムが RedirectionPath プロパティで指定された場所にある構成ファイルを読み取るときに偽装する ID のユーザー名を指定する、読み取り/書き込みの string 値。 既定値は、空の文字列 ("") です。

サブクラス

このクラスにはサブクラスが含まれていません。

解説

構成リダイレクト設定は、Redirection.config ファイルに格納されます。 既定では、このファイルは %windir%\system32\inetsrv\config ディレクトリにあります。

継承階層

ConfigurationSection

ConfigurationRedirectionSection

要件

説明
クライアント - Windows Vista 上の IIS 7.0
- Windows 7 上の IIS 7.5
- Windows 8 上の IIS 8.0
- Windows 10 上の IIS 10.0
[サーバー] - Windows Server 2008 上の IIS 7.0
- Windows Server 2008 R2 上の IIS 7.5
- Windows Server 2012 上の IIS 8.0
- Windows Server 2012 R2 上の IIS 8.5
- Windows Server 2016 上の IIS 10.0
Product - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0
MOF ファイル WebAdministration.mof

参照

ConfigurationSection クラス