LinkTranslationPatterns Property of the IFPCWebPublishingProperties2 Interface

The LinkTranslationPatterns property gets an FPCLinkTranslationPatterns collection that contains objects representing the pattern matching expressions defined for link translation in the rule.

[C++]
HRESULT get_LinkTranslationPatterns(
	IFPCLinkTranslationPatterns** ppLinkTranslationPatterns
);

Parameters

ppLinkTranslationPatterns

Address of an interface pointer that on return points to an IFPCLinkTranslationPatterns interface that represents the collection of pattern matching expressions that are defined for link translation in the rule.

Return Value

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

[Visual Basic]
Property LinkTranslationPatterns As FPCLinkTranslationPatterns

Property Value

Reference to an FPCLinkTranslationPatterns collection that contains the pattern matching expressions that are defined for link translation in the rule.

Remarks

This property is read-only. Pattern matching expressions can be added and removed by calling the Add and Remove methods of the FPCLinkTranslationPatterns collection retrieved (the Add and Remove methods of the IFPCLinkTranslationPatterns interface retrieved in C++).

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-->. For example, when the 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.

Pattern matching is enabled for only some values of the LinkTranslationMode property.

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.

DLL

Requires Msfpccom.dll.

See Also

FPCWebPublishingProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]