Share via


QueryComponent.Recover Method

Reinitializes the query component from an index partition.

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

Syntax

'Declaration
Public Sub Recover
'Usage
Dim instance As QueryComponent

instance.Recover()
public void Recover()

Remarks

This method sets a request to execute a transition to reinitialize the query component, and then periodically checks the transition status to ensure that the query component has been reinitialized.

This operation is only valid when the state of the query component is offline or ready. This operation sets the state of the query component to offline.

See Also

Reference

QueryComponent Class

QueryComponent Members

Microsoft.Office.Server.Search.Administration Namespace