SearchServiceApplicationProxy.RecordQueryErrorEvent method

Records the errors that have occurred during the processing of Search queries.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function RecordQueryErrorEvent ( _
    buffer As QueryErrorDataBuffer _
) As Boolean
'Usage
Dim instance As SearchServiceApplicationProxy
Dim buffer As QueryErrorDataBuffer
Dim returnValue As Boolean

returnValue = instance.RecordQueryErrorEvent(buffer)
public bool RecordQueryErrorEvent(
    QueryErrorDataBuffer buffer
)

Parameters

  • buffer
    Type: QueryErrorDataBuffer

    A buffer used to store the information about the query errors.

Return value

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

Implements

ISearchHealthMonitoringServiceApplication.RecordQueryErrorEvent(QueryErrorDataBuffer)

Remarks

This method records the information about errors that have occurred during the processing of all executed Search queries.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace