SearchServiceApplicationProxy.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 SearchServiceApplicationProxy
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 verbose query monitoring is turned on for the SearchServiceApplicationProxy; otherwise, false.

Implements

ISearchHealthMonitoringServiceApplication.RecordUIQueryDoneEvent(UIQueryLatencyDataBuffer)

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

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace