Scopes.GetDisplayGroup Method

Returns the display group with the specified name, from the specified site.

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


Public Function GetDisplayGroup ( _
    siteUrl As Uri, _
    name As String _
) As ScopeDisplayGroup
Dim instance As Scopes
Dim siteUrl As Uri
Dim name As String
Dim returnValue As ScopeDisplayGroup

returnValue = instance.GetDisplayGroup(siteUrl, _
public ScopeDisplayGroup GetDisplayGroup(
    Uri siteUrl,
    string name


  • siteUrl
    Type: System.Uri
    A System.Uri object representing the site URL.
  • name
    Type: System.String
    A string containing the display group name.

Return Value

Type: Microsoft.Office.Server.Search.Administration.ScopeDisplayGroup
A ScopeDisplayGroup object representing the specified display group.

See Also


Scopes Class

Scopes Members

Microsoft.Office.Server.Search.Administration Namespace