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)

Syntax

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

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

Parameters

  • 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

Reference

Scopes class

Scopes members

Microsoft.Office.Server.Search.Administration namespace