Partager via


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.

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