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.
Click here to see the Forefront TMG object hierarchy.
Methods
The FPCPathMappings collection defines the following methods.
Method | Description |
---|---|
Creates a new FPCPathMapping object in the collection and returns a reference to it. |
|
Retrieves the requested FPCPathMapping object from the collection. |
|
Reads all the properties of the collection and its elements from persistent storage, discarding any changes that have not been saved. |
|
Removes the specified FPCPathMapping object from the collection. |
|
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 |
---|---|
Gets an enumerator object for the collection. |
|
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
Send comments about this topic to Microsoft
Build date: 6/30/2010