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