Share via


IAppHostPathMapper2 Interface

 

Provides methods that are called by the server implementation when the server informs the client about the hierarchy mapping decisions.

Syntax

interface IAppHostPathMapper2 : IUnknown  

Methods

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

Method Description
IAppHostPathMapper2::MapPath Method Maps IIS 7 configuration paths to custom file system paths.

Properties

This interface contains no properties.

Remarks

To receive incoming remote calls for this interface, the client must implement a UUID(0f80e901-8f4c-449a-bf90-13d5d082f187). The client must then specify an object that implements the interface to the IAppHostAdminManager::SetMetadata Method method with a bstrMetadataName of "pathMapper2".

As an administration system maps hierarchy paths to physical paths on the server, it optionally calls the client-supplied object that implements the IAppHostPathMapper2 interface. The implementer of this interface receives details of all mappings and can change the results of each mapping if required.

Note

The IAppHostPathMapper2 interface is designed to work on a local computer; you cannot use this interface to manage a remote computer.

Inheritance Hierarchy

IUnknown

IAppHostPathMapper2

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 Technical Preview
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