Share via


SearchServiceApplication.RecordOMQueryDoneEvent Method

Records the latency timing information about the executed Search queries.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function RecordOMQueryDoneEvent ( _
    buffer As OMQueryLatencyDataBuffer _
) As Boolean
'Usage
Dim instance As SearchServiceApplication
Dim buffer As OMQueryLatencyDataBuffer
Dim returnValue As Boolean

returnValue = instance.RecordOMQueryDoneEvent(buffer)
public bool RecordOMQueryDoneEvent(
    OMQueryLatencyDataBuffer buffer
)

Parameters

  • buffer
    Type: OMQueryLatencyDataBuffer

    A buffer used to store query latency timings.

Return Value

Type: System.Boolean
true if the verbose query monitoring is turned on for the SearchServiceApplication; otherwise, false.

Remarks

This method records the latency timing information about the executed Search queries, including the aggregated latency timing information and the verbose latency timing information.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace