Scopes.AllScopes Property

Gets all of the search scopes for the Shared Service Provider.

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

public override ScopeCollection AllScopes { get; }

Property Value

Type: Microsoft.Office.Server.Search.Administration.ScopeCollection
A ScopeCollection object representing the collection of search scopes.

For more information about search scopes in SharePoint Enterprise Search, see Working with Search Scopes.