Share via


RemoteScopes.GetScopesForSite Method

Gets an enumerator to access the [T:System.Collections.Generic.List<T>] of Scope objects.

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

Syntax

'Declaration
Public Overrides Function GetScopesForSite ( _
    siteUrl As Uri _
) As IEnumerable
'Usage
Dim instance As RemoteScopes
Dim siteUrl As Uri
Dim returnValue As IEnumerable

returnValue = instance.GetScopesForSite(siteUrl)
public override IEnumerable GetScopesForSite(
    Uri siteUrl
)

Parameters

Return Value

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

Remarks

The siteUrl must be any URL to an SPSite, or null .

See Also

Reference

RemoteScopes Class

RemoteScopes Members

Microsoft.Office.Server.Search.Administration Namespace