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)


Public Sub SetOffline
Dim instance As QueryComponent

public void SetOffline()


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


QueryComponent Class

QueryComponent Members

Microsoft.Office.Server.Search.Administration Namespace