Partilhar via


RemoteScopes.GetDisplayGroupsForSite Method

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

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

Syntax

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

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

Parameters

Return Value

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

Remarks

The siteUrl must be any Uniform Resource Locator (URL) to an SPSite, or null .

See Also

Reference

RemoteScopes Class

RemoteScopes Members

Microsoft.Office.Server.Search.Administration Namespace