IAppHostCollectionSchema Interface

 

Represents a schema for a collection in the IIS 7 configuration system.

Syntax

interface IAppHostCollectionSchema : IUnknown  

Methods

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.

Properties

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.

Inheritance Hierarchy

IUnknown

IAppHostCollectionSchema

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- 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 Technical Preview
Product - 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
Header Ahadmin.h

See Also

Application Host Administration API Reference