FindMatchedElements Method of the IFPCPolicyRule4 Interface

The FindMatchedElements method finds matched elements in the policy rule.

[C++]

Syntax

HRESULT FindMatchedElements(
  [in]   BSTR searchCriteria,
  [out]  BSTR* pMatchedElements
);

Parameters

searchCriteria

A BSTR that specifies the search criteria. This string either contains literal text to search for, or criteria given as "<property>:<value>" terms.

pMatchedElements

Pointer to a BSTR that on return contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.

Return Value

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

[Visual Basic]

Syntax

Function FindMatchedElements( _
  ByVal searchCriteria As String, _
  ByRef pMatchedElements As String _
) As String

Parameters

searchCriteria

A String that specifies the search criteria. This string either contains literal text to search for, or criteria given as "<property>:<value>" terms.

pMatchedElements

Reference to a String that on return contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.

Return Value

A String that contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.

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

FPCPolicyRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.