Share via


IFPCWebPublishingProperties2::LinkTranslationPatterns property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_LinkTranslationPatterns(
  IFPCLinkTranslationPatterns **ppLinkTranslationPatterns
);
' Data type: FPCLinkTranslationPatterns

Property LinkTranslationPatterns( _
  ByVal ppLinkTranslationPatterns As IFPCLinkTranslationPatterns _
) As FPCLinkTranslationPatterns

Property value

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

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebPublishingProperties

 

 

Build date: 7/12/2010