PathMappings Property of the IFPCWebPublishingProperties Interface

The PathMappings property gets an FPCPathMappings collection that contains mappings of external paths that can be used by users in incoming requests to internal paths of directories on the published Web server.

C++

HRESULT get_PathMappings(
    IFPCPathMappings** ppPathMappings
);

Parameters

  • ppPathMappings
    Address of an interface pointer that on return points to an IFPCPathMappings interface that represents the collection of path mappings.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property PathMappings As FPCPathMappings

Property Value

Reference to an FPCPathMappings collection that contains mappings of external paths that can be used by users in incoming requests to internal paths of directories on the published Web server.

Remarks

This property is read-only. It can be modified by calling the methods of the FPCPathMappings collection retrieved (the IFPCPathMappings interface retrieved in C++).

Before forwarding a request to the published Web server, Forefront TMG checks the path specified in the request (the external path). If a path mapping is found for the path specified in the request, Forefront TMG replaces the path specified in the request by the corresponding internal path.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebPublishingProperties

Send comments about this topic to Microsoft

Build date: 6/30/2010