Partager via


HostDistributionRuleCollection.AutoRebalancing Method

Balances the hosts in each crawl store based on the number of documents in each crawl store.

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

Syntax

'Declaration
Public Sub AutoRebalancing
'Usage
Dim instance As HostDistributionRuleCollection

instance.AutoRebalancing()
public void AutoRebalancing()

Exceptions

Exception Condition
CrawlTopologyActivationException

New topology activation failed.

Exception

The rebalance operation failed.

InvalidOperationException

Resuming search application failed.

Remarks

This method associates the hosts whose distribution rules need to be created or modified with the crawl stores based on the number of documents in each crawl store.

See Also

Reference

HostDistributionRuleCollection Class

HostDistributionRuleCollection Members

Microsoft.Office.Server.Search.Administration Namespace