次の方法で共有


UrlMappingsSection クラス

受信と送信の URL マッピングのペアを含む <urlMappings> セクションを表します。

構文

class UrlMappingsSection : ConfigurationSectionWithCollection  

メソッド

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

名前 説明
[追加] (ConfigurationSectionWithCollection から継承。)
Clear (ConfigurationSectionWithCollection から継承。)
Get (ConfigurationSectionWithCollection から継承。)
GetAllowDefinition (ConfigurationSection から継承。)
GetAllowLocation (ConfigurationSection から継承。)
削除 (ConfigurationSectionWithCollection から継承。)
RevertToParent (ConfigurationSection から継承。)
SetAllowDefinition (ConfigurationSection から継承。)
SetAllowLocation (ConfigurationSection から継承。)

プロパティ

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

名前 説明
Enabled 読み取り/書き込みの boolean 値。 URL マッピングを有効にする場合は true、それ以外の場合は false です。 既定値は、true です。
Location (ConfigurationSection から継承。)キー プロパティ。
Path (ConfigurationSection から継承。)キー プロパティ。
SectionInformation (ConfigurationSection から継承。)
UrlMappings 読み取り/書き込み UrlMapping 値の配列。各値には、受信表示 URL と、受信表示 URL がマップされる Web アプリケーション URL が含まれます。

サブクラス

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

継承階層

ConfigurationSection

ConfigurationSectionWithCollection

UrlMappingsSection

要件

説明
クライアント - 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

参照

ConfigurationSectionWithCollection クラス
UrlMapping クラス