| title | IAppHostAdminManager Interface |
|---|---|
| description | Learn how the IAppHostAdminManager interface provides read-only access to effective data in the IIS 7 configuration system. |
| ms.date | 10/07/2016 |
| ms.assetid | 2e02f13e-9999-28dd-304d-507b041f9b5b |
Provides read-only access to effective data in the [!INCLUDEiisver] configuration system.
IAppHostAdminManager : public IUnknown The following table lists the methods exposed by the IAppHostAdminManager interface.
| Method | Description |
|---|---|
| GetAdminSection | Gets an [!INCLUDEiisver] configuration section that has the requested name and configuration path. |
| GetMetadata | Gets metadata values from the [!INCLUDEiisver] configuration system. |
| SetMetadata | Sets metadata values in the [!INCLUDEiisver] configuration system. |
The following table lists the properties exposed by the IAppHostAdminManager interface.
| Property | Description |
|---|---|
| ConfigManager | Gets an IAppHostConfigManager interface that provides access to the physical files in the [!INCLUDEiisver] configuration system. |
The IAppHostAdminManager interface provides read-only access to the effective values of a merged configuration set in the [!INCLUDEiisver] configuration system. For a specified configuration path, the return values of this method represent the values in the hierarchically merged configuration set.
For access to set explicit values in the [!INCLUDEiisver] configuration system, use the IAppHostWritableAdminManager interface.
IAppHostAdminManager
| 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 |
IAppHostWritableAdminManager Interface
Application Host Administration API Reference