FPCPathMappings Collection

The FPCPathMappings collection provides access to a group of FPCPathMapping objects. An FPCPathMapping object represents a mapping of an external path to an internal path on a server published by a Web publishing rule. The external path is the public path used by users in their incoming requests, and the internal path is the private path to the published directory on the Web server.

Path mappings are used in Web publishing rules. Before forwarding a request to the published Web server, Forefront TMG checks the (external) path specified in the request. 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.

This collection is accessed through the PathMappings property of the FPCWebPublishingProperties object.

Dd436280.bkbutton(en-us,MSDN.10).png Click here to see the Forefront TMG object hierarchy.

Methods

The FPCPathMappings collection defines the following methods.

Method Description

Add

Creates a new FPCPathMapping object in the collection and returns a reference to it.

Item

Retrieves the requested FPCPathMapping object from the collection.

Refresh

Reads all the properties of the collection and its elements from persistent storage, discarding any changes that have not been saved.

Remove

Removes the specified FPCPathMapping object from the collection.

Save

Writes the current values of all the properties of the collection and its elements to persistent storage.

Properties

The FPCPathMappings collection defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of objects in the collection.

Interfaces for C++ Programming

This collection implements the IFPCPathMappings interface.

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.

See Also

COM Objects

Send comments about this topic to Microsoft

Build date: 6/30/2010