Partilhar via


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.

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