Partager via


ScopesManager.GetDisplayGroupsForSite Method

When overridden in a derived class, gets an enumerator to access the list of the ScopeDisplayGroup objects.

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

Syntax

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

returnValue = instance.GetDisplayGroupsForSite(siteUrl)
public abstract IEnumerable GetDisplayGroupsForSite(
    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 list of ScopeDisplayGroup objects.

Remarks

This method should be implemented in the derived classes.

See Also

Reference

ScopesManager Class

ScopesManager Members

Microsoft.Office.Server.Search.Administration Namespace