| title | IAppHostConfigLocationCollection Interface |
|---|---|
| description | Describes the IAppHostConfigLocationCollection interface and provides the interface's syntax, methods, properties, inheritance hierarchy, and requirements. |
| ms.date | 10/07/2016 |
| ms.assetid | 47442932-c536-9753-0146-fab1c2973ff6 |
Provides access to a collection of configuration locations in the [!INCLUDEiisver] configuration system.
interface IAppHostConfigLocationCollection : IUnknown 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. |
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. |
IAppHostConfigLocationCollection
| 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 |
Application Host Administration Interfaces
Application Host Administration API Reference