SearchServiceApplicationProxy.RecordWebPartQueryDoneEvent method

Records the Search query latency for a query of Web Parts 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 RecordWebPartQueryDoneEvent ( _
    buffer As WebPartQueryLatencyDataBuffer _
) As Boolean
'Usage
Dim instance As SearchServiceApplicationProxy
Dim buffer As WebPartQueryLatencyDataBuffer
Dim returnValue As Boolean

returnValue = instance.RecordWebPartQueryDoneEvent(buffer)
public bool RecordWebPartQueryDoneEvent(
    WebPartQueryLatencyDataBuffer buffer
)

Parameters

  • buffer
    Type: WebPartQueryLatencyDataBuffer

    A buffer used to store verbose latency of the Web Parts.

Return value

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

Implements

ISearchHealthMonitoringServiceApplication.RecordWebPartQueryDoneEvent(WebPartQueryLatencyDataBuffer)

Remarks

This method records the Search query verbose latency for a query of Web Parts on the Search results page.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace