Share via


RemoteScopes.GetSharedScopes method

Gets an enumerator to access the [T:System.Collections.Generic.List<T>] 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 Overrides Function GetSharedScopes As IEnumerable
'Usage
Dim instance As RemoteScopes
Dim returnValue As IEnumerable

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

Return value

Type: System.Collections.IEnumerable
An enumerator to access the [T:System.Collections.Generic.List<T>] of global search Scope objects.

Remarks

This override returns the shared Scope objects that are available on any server in the SPFarm.

See also

Reference

RemoteScopes class

RemoteScopes members

Microsoft.Office.Server.Search.Administration namespace