SearchServiceApplication.SetDisplayGroupListInfo Method

Updates the Search scope display group.

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

Syntax

'Declaration
Public Sub SetDisplayGroupListInfo ( _
    displayGroupId As Integer, _
    scopeIds As List(Of Integer) _
)
'Usage
Dim instance As SearchServiceApplication
Dim displayGroupId As Integer
Dim scopeIds As List(Of Integer)

instance.SetDisplayGroupListInfo(displayGroupId, _
    scopeIds)
public void SetDisplayGroupListInfo(
    int displayGroupId,
    List<int> scopeIds
)

Parameters

  • displayGroupId
    Type: System.Int32

    The ID of the Search scope display group.

Implements

ISearchSiteAdministrationServiceApplication.SetDisplayGroupListInfo(Int32, List<Int32>)

Remarks

This method removes all Search scopes from the specified Search scope display group, and then adds the new Search scopes to the group in the specified order.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace