共用方式為


IAppHostConfigLocation 介面

表示 IIS 7 組態系統中的組態位置。

Syntax

interface IAppHostConfigLocation : IUnknown  

方法

下表列出 介面所 IAppHostConfigLocation 公開的方法。

方法 描述
AddConfigSection 將組態區段新增至目前的組態位置。
DeleteConfigSection 從目前的組態位置移除組態區段。

屬性

下表列出介面所 IAppHostConfigLocation 公開的屬性。

屬性 描述
Count 取得針對目前組態位置所設定的組態區段數目。
Item 從目前位置取得要求的組態區段。
路徑 取得目前組態位置的路徑。

繼承階層架構

IUnknown

IAppHostConfigLocation

規格需求

類型 描述
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

另請參閱

應用程式主機管理介面