FPCLinkTranslationPatterns Collection

The FPCLinkTranslationPatterns collection holds a set of pattern matching expressions that are defined for link translation in a Web publishing rule.

Each element in the FPCLinkTranslationPatterns collection is a string of either the form A*B or the form A. In the former case, the search pattern is <!--A*B-->, and in the latter case, the search pattern is <!--A-->.

Forefront TMG uses pattern matching to ensure that the public names remain in links when a message is forwarded or a reply is sent. Replies and forwarded Microsoft Outlook Web Access messages contain the following line:

<!--CURRENT FILE=="IE5" "WIN32" replyforwardnote-->

Forefront TMG uses pattern matching to determine if a line like this is present. When such a line is identified, link translation is not performed so that internal recipients will receive URLs with internal names. When the predefined pattern matching expression <!--CURRENT FILE==*replyforwardnote--> is used, Forefront TMG searches for a string that starts with <!--CURRENT FILE== and ends with replyforwardnote--> and does not contain < or > in between.

The FPCLinkTranslationPatterns collection is accessed through the LinkTranslationPatterns property of an FPCWebPublishingProperties object.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCLinkTranslationPatterns collection defines the following methods.

Method Description

Add

Adds a new pattern matching expression to the collection.

Item

Retrieves the requested pattern matching expression from the collection.

Refresh

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

Remove

Removes the specified pattern matching expression from the collection.

RemoveAll

Removes all of the pattern matching expressions from the collection.

Save

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

Properties

The FPCLinkTranslationPatterns collection defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of pattern matching expressions in the collection.

Interfaces for C++ Programming

This collection implements the IFPCLinkTranslationPatterns interface.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

See Also

COM Objects


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.