The FindMatchedElements method finds matched rule elements.
HRESULT FindMatchedElements( [in] BSTR searchCriteria, [out] BSTR* pMatchedElements );
A BSTR that specifies the search criteria. This string either contains literal text to search for, or a list of criteria elements separated by white space, each given as "<property>:<value>". The whole criteria is fulfilled when all its elements are statisfied.
Pointer to a BSTR that on return contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function FindMatchedElements( _ ByVal searchCriteria As String, _ ByRef pMatchedElements As String _ ) As String
A String that specifies the search criteria. This string either contains literal text to search for, or a list of criteria elements separated by white space, each given as "<property>:<value>". The whole criteria is fulfilled when all its elements are statisfied.
Reference to a String that on return contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.
A String that contains a textual representation of the matched elements. If pMatchedElements is empty, no matches were found.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.