FPCLinkTranslationPatterns Collection
The FPCLinkTranslationPatterns collection holds a set of pattern matching expressions that are defined for link translation in a Web publishing rule. (This collection is introduced in ISA Server 2006.)
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-->.
ISA Server 2006 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-->
ISA Server 2006 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, ISA Server 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 ISA Server 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 has 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 XP. |
|---|---|
| Server | Requires Windows Server 2003. |
| Version | Requires Internet Security and Acceleration Server 2006. |
| IDL | Declared in Msfpccom.idl. |