表示 IIS 7 組態系統中集合的架構。
Syntax
interface IAppHostCollectionSchema : IUnknown
方法
下表列出 介面所 IAppHostCollectionSchema 公開的方法。
| 方法 | 描述 |
|---|---|
| GetAddElementSchema | 取得具有要求名稱之 add 專案的架構。 |
| GetMetadata | 從集合架構取得中繼資料。 |
屬性
下表列出介面所 IAppHostCollectionSchema 公開的屬性。
| 屬性 | 描述 |
|---|---|
| AddElementNames | 取得對集合有效之專案名稱的 add 逗號分隔清單。 |
| ClearElementSchema | 取得專案架構,此專案將用來清除集合中的所有專案。 |
| DoesAllowDuplicates | 取得布林值,判斷實作目前架構的集合是否允許重複索引鍵。 |
| IsMergeAppend | 取得值,這個值會決定是否在加入繼承的專案之後合併本機集合專案。 |
| RemoveElementSchema | 取得專案架構,此專案將用來從集合中移除專案。 |
繼承階層架構
IAppHostCollectionSchema
規格需求
| 類型 | 描述 |
|---|---|
| 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 |