| title | IAppHostMappingExtension Interface |
|---|---|
| description | Describes the IAppHostMappingExtension interface and details its syntax, methods, properties, remarks, inheritance hierarchy, and requirements. |
| ms.date | 10/07/2016 |
| ms.assetid | 5ed0d0dd-8dfb-df88-a7a8-c0ec0e805f2c |
Extends the configuration system mapping functionality.
IAppHostMappingExtension : public IUnknown The following table lists the methods exposed by the IAppHostMappingExtension interface.
| Method | Description |
|---|---|
| GetSiteElementFromSiteId | Gets a configuration element that represents a site by using the unique identifier for the site. |
| GetSiteIdFromSiteName | Gets a unique identifier for a site by using the name of the site. |
| GetSiteNameFromSiteId | Gets the name of a site by using the unique identifier for the site. |
| MapPath | Maps a site to a physical path, virtual directory, and application path by using the site name and virtual path. |
This interface contains no properties.
Developers can extend the site-mapping functionality of IIS by implementing this interface to create a custom mapping extension.
IAppHostMappingExtension
| 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