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
siteUrl
Type: System.UriThe URI of the search Scope consumer of the required ScopeDisplayGroup objects.
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 .