Share via


IFPCLogContent::ExecuteQuery method

Applies to: desktop apps only

The ExecuteQuery method executes a query on the logs of all servers in the array.

Syntax

HRESULT ExecuteQuery(
  [in]       IFPCFilterExpressions *pQuery,
  [in, ref]  FPCFilterExpressions &pQuery,
  [in]       long MaxRowsToFetch
);
FPCLogContent.ExecuteQuery( _
  ByVal pQuery As IFPCFilterExpressions, _
  ByRef pQuery As FPCFilterExpressions, _
  ByVal MaxRowsToFetch As Long _
)

Parameters

  • pQuery [in]

    C++

    Pointer to an IFPCFilterExpressions interface that represents the collection of filters to apply to the query.

    VB

    An FPCFilterExpressions collection that contains the filters to apply to the query.

  • MaxRowsToFetch [in]
    The maximum number of rows to retrieve from the log.

Return value

C++

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

VB

This method generates the query response if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

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

FPCLogContent

 

 

Build date: 7/12/2010