共用方式為


IAppHostSectionDefinitionCollection 介面

表示組態區段定義的集合。

Syntax

interface IAppHostSectionDefinitionCollection : IUnknown  

方法

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

方法 描述
AddSection 將新的組態區段定義加入至集合。
DeleteSection 從集合中移除組態區段定義

屬性

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

屬性 描述
Count 取得目前集合中的組態區段定義數目。
Item 從目前集合取得要求索引處的組態區段定義。

繼承階層架構

IUnknown

IAppHostSectionDefinitionCollection

規格需求

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

另請參閱

應用程式主機管理介面
IAppHostPropertyCollection 介面