IAppHostMappingExtension Interface

Extends the configuration system mapping functionality.

Syntax

IAppHostMappingExtension : public IUnknown  

Methods

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.

Properties

This interface contains no properties.

Remarks

Developers can extend the site-mapping functionality of IIS by implementing this interface to create a custom mapping extension.

Inheritance Hierarchy

IUnknown

IAppHostMappingExtension

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