ScopesManager.PruneDisplayGroupList method

Gets an enumerator to access the list of ScopeDisplayGroup objects associated with the specified list of information about Search display groups.

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

Syntax

'Declaration
Protected Function PruneDisplayGroupList ( _
    displayGroupInfos As List(Of DisplayGroupInfo) _
) As IEnumerable
'Usage
Dim displayGroupInfos As List(Of DisplayGroupInfo)
Dim returnValue As IEnumerable

returnValue = Me.PruneDisplayGroupList(displayGroupInfos)
protected IEnumerable PruneDisplayGroupList(
    List<DisplayGroupInfo> displayGroupInfos
)

Parameters

Return value

Type: System.Collections.IEnumerable
An enumerator to access the scope display groups.

Remarks

This method determines whether each member of the displayGroupInfos parameter has a corresponding scope display group in the list of scope display groups in the AllDisplayGroups property. If the AllDisplayGroups contains a corresponding scope display group, this method returns the item; otherwise, this method returns a new ScopeDisplayGroup with the identifier of the DisplayGroupInfo as the key.

See also

Reference

ScopesManager class

ScopesManager members

Microsoft.Office.Server.Search.Administration namespace