Partager via


ScopesManager.GetUnusedScopesForSite Method

When overridden in a derived class, gets an enumerator to access the list of the search Scope objects that are not used by any Search scope display group.

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

Syntax

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

returnValue = instance.GetUnusedScopesForSite(siteUrl)
public abstract IEnumerable GetUnusedScopesForSite(
    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 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