CrawlStorePartitionManager.TimeToCompletion method

Get the estimated time to complete the partition move with the supplied change ID, which must have been obtained by a call to either BeginCrawlStoreRebalancing or BeginMovingDataOutOfCrawlStores.

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

Syntax

'Declaration
Public Function TimeToCompletion ( _
    changeID As Guid _
) As TimeSpan
'Usage
Dim instance As CrawlStorePartitionManager
Dim changeID As Guid
Dim returnValue As TimeSpan

returnValue = instance.TimeToCompletion(changeID)
public TimeSpan TimeToCompletion(
    Guid changeID
)

Parameters

  • changeID
    Type: System.Guid

    Supplies the change ID obtained from either BeginCrawlStoreRebalancing or BeginMovingDataOutOfCrawlStores.

Return value

Type: System.TimeSpan
Returns the estimated time to complete the partition move with the supplied change ID. Returns zero if the given change ID has completed, or if it was not obtained from either BeginCrawlStoreRebalancing or BeginMovingDataOutOfCrawlStores.

See also

Reference

CrawlStorePartitionManager class

CrawlStorePartitionManager members

Microsoft.Office.Server.Search.Administration namespace