| title | IAppHostCollectionSchema Interface |
|---|---|
| description | The IAppHostCollectionSchema Interface represents a schema for a collection in the INCLUDE i i s v e r configuration system. |
| ms.date | 10/07/2016 |
| ms.assetid | 4f0fe5e3-1283-6da8-ba92-a0d6a330838b |
Represents a schema for a collection in the [!INCLUDEiisver] configuration system.
interface IAppHostCollectionSchema : IUnknown The following table lists the methods exposed by the IAppHostCollectionSchema interface.
| Method | Description |
|---|---|
| GetAddElementSchema | Gets the schema for the add element that has the requested name. |
| GetMetadata | Gets metadata from the collection schema. |
The following table lists the properties exposed by the IAppHostCollectionSchema interface.
| Property | Description |
|---|---|
| AddElementNames | Gets a comma-delimited list of add element names that are valid for the collection. |
| ClearElementSchema | Gets the schema for the element that will be used to clear all items from the collection. |
| DoesAllowDuplicates | Gets a Boolean value that determines whether a collection that implements the current schema allows for duplicate keys. |
| IsMergeAppend | Gets a value that determines whether local collection elements are merged after inherited elements are added. |
| RemoveElementSchema | Gets the schema for the element that will be used to remove an item from the collection. |
IAppHostCollectionSchema
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Ahadmin.h |