提供定義組態區段行為之屬性的存取權。
Syntax
IAppHostSectionDefinition : public IUnknown
方法
此介面不包含任何方法。
屬性
下表列出 介面所 IAppHostSectionDefinition 公開的屬性。
| 屬性 | 描述 |
|---|---|
| AllowDefinition | 取得或設定值,這個值表示組態區段的有效組態路徑位置。 |
| AllowLocation | 取得或設定值,這個值表示組態區段是否允許 location 屬性。 |
| 名稱 | 取得目前組態區段定義的名稱。 |
| OverrideModeDefault | 取得或設定目前組態區段的預設覆寫行為。 |
| 類型 | 取得表示目前組態區段之類別的類型名稱。 |
繼承階層架構
IAppHostSectionDefinition
規格需求
| 類型 | 描述 |
|---|---|
| Client | - 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 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 - IIS Express 7.5、IIS Express 8.0、IIS Express 10.0 |
| 標頭 | Ahadmin.h |