Partager via


SearchServiceApplicationProxy.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 SearchServiceApplicationProxy
Dim displayGroupId As Integer
Dim scopeIds As List(Of Integer)

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

Parameters

Implements

ISearchSiteAdministrationServiceApplication.SetDisplayGroupListInfo(Int32, List<Int32>)

Exceptions

Exception Condition
Exception

An error occurred during application execution.

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

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace