Applies to: desktop apps only
The ExecuteQuery method starts a new query using the specified filters on all servers in the array.
HRESULT ExecuteQuery( [in, ref] FPCFilterExpressions &Filter, [in] IFPCFilterExpressions *pFilter, [in] long nBufferSize );
FPCSessionsMonitor.ExecuteQuery( _ ByRef Filter As FPCFilterExpressions, _ ByVal pFilter As IFPCFilterExpressions, _ ByVal nBufferSize As Long _ )
Filter [in, ref]
Reference to an FPCFilterExpressions collection that represents the filters to be used in the query.
Pointer to an IFPCFilterExpressions interface that represents the collection of filters to be used in the query.
A 32-bit integer value that specifies the buffer size.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
After this method is called, the EndQuery method must be called to end the query.
For a VBScript code example that shows how to use this method to run a query for finding and displaying the active sessions on a Forefront TMG computer, see Displaying Active Sessions.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010