Share via


SearchServiceApplication.RefreshComponents Method

Refreshes the Search components in the SearchServiceApplication.

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

Syntax

'Declaration
Public Sub RefreshComponents
'Usage
Dim instance As SearchServiceApplication

instance.RefreshComponents()
public void RefreshComponents()

Remarks

This method sets the status of the AdminComponent and the CrawlComponent to uninitialized, and then requests a refresh of the QueryComponent. This enables the AdminComponent and the CrawlComponent objects to be refreshed automatically by the Search service instance synchronizer.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace