Partager via


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