Share via


ScopesManager.GetScopesForSite Method

When overridden in a derived class, gets an enumerator to access the collection of scopes for a specified site.

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

Syntax

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

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

Parameters

  • siteUrl
    Type: System.Uri

    The URL of the Search scope consumer.

Return Value

Type: System.Collections.IEnumerable
An enumerator to access the collection of scopes for a specified site.

Remarks

This method should be implemented in the derived classes.

See Also

Reference

ScopesManager Class

ScopesManager Members

Microsoft.Office.Server.Search.Administration Namespace