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.Int32The ID of the Search scope display group.
scopeIds
Type: System.Collections.Generic.List<Int32>A list that contains the IDs of Search scopes.
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