Partager via


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