SearchServiceApplication.GetScopesCount method

Retrieves the count of all SearchScopes that are defined in the SearchAdminDatabase.

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

public int GetScopesCount()

Return value

Type: System.Int32
The count of all SearchScopes.

Implements

ISearchSiteAdministrationServiceApplication.GetScopesCount()

This method retrieves the count of all SearchScopes in the SearchAdminDatabase.

Show: