SearchServiceApplication.RecordUIQueryDoneEvent Method

Records the information about the Search query latency on the Search results page.

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

Syntax

'Declaration
Public Function RecordUIQueryDoneEvent ( _
    buffer As UIQueryLatencyDataBuffer _
) As Boolean
'Usage
Dim instance As SearchServiceApplication
Dim buffer As UIQueryLatencyDataBuffer
Dim returnValue As Boolean

returnValue = instance.RecordUIQueryDoneEvent(buffer)
public bool RecordUIQueryDoneEvent(
    UIQueryLatencyDataBuffer buffer
)

Parameters

  • buffer
    Type: UIQueryLatencyDataBuffer

    A buffer used to store query latency on the Search results page.

Return Value

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

Remarks

This method records the information about the Search query latency on the Search results page. The results page contains aggregated latency information for all Search queries. If verbose query monitoring is turned on, the results page also contains verbose latency information for every Search query.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace