IAppHostConfigLocationCollection Interface

Provides access to a collection of configuration locations in the IIS 7 configuration system.

Syntax

interface IAppHostConfigLocationCollection : IUnknown  

Methods

The following table lists the methods exposed by the IAppHostConfigLocationCollection interface.

Method Description
AddLocation Adds a new configuration location to the collection.
DeleteLocation Removes a configuration location from the collection.

Properties

The following table lists the properties exposed by the IAppHostConfigLocationCollection interface.

Property Description
Count Gets the number of configuration locations in the collection.
Item Gets a configuration location at the requested index from the current collection.

Inheritance Hierarchy

IUnknown

IAppHostConfigLocationCollection

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
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 Interfaces
Application Host Administration API Reference