QueryComponent.SetOffline Method

Sets the state of the current query component to offline.

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

Syntax

'Declaration
Public Sub SetOffline
'Usage
Dim instance As QueryComponent

instance.SetOffline()
public void SetOffline()

Remarks

This operation is not allowed if the current query component is in a transition and an InvalidOperationException is thrown.

The current query component state will not be set to offline if the count of the other online query components in the index partition to which the current component is assigned is less than 1, but it is allowed when the count is less than the value of the MinimumReadyQueryComponentsPerPartition property of the Search service application.

See Also

Reference

QueryComponent Class

QueryComponent Members

Microsoft.Office.Server.Search.Administration Namespace