SearchServiceApplication.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 SearchServiceApplication
Dim buffer As WebPartQueryLatencyDataBuffer
Dim returnValue As Boolean
returnValue = instance.RecordWebPartQueryDoneEvent(buffer)
public bool RecordWebPartQueryDoneEvent(
WebPartQueryLatencyDataBuffer buffer
)
Parameters
buffer
Type: WebPartQueryLatencyDataBufferA 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 SearchServiceApplication; 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
SearchServiceApplication Class