ScopesManager.GetSharedScopes method

When overridden in a derived class, gets an enumerator to access a list of global search Scope objects that are available on any server in the SPFarm.

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

Syntax

'Declaration
Public MustOverride Function GetSharedScopes As IEnumerable
'Usage
Dim instance As ScopesManager
Dim returnValue As IEnumerable

returnValue = instance.GetSharedScopes()
public abstract IEnumerable GetSharedScopes()

Return value

Type: System.Collections.IEnumerable
An enumerator to access the global Search scope objects.

Remarks

This method should be implemented in the derived classes.

See also

Reference

ScopesManager class

ScopesManager members

Microsoft.Office.Server.Search.Administration namespace