Partager via


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.

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