SearchServiceApplication.GetDisplayGroupsForConsumer Method

Retrieves a list of the DisplayGroupInfo objects that is managed by the SearchServiceApplication.

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

Syntax

'Declaration
Public Function GetDisplayGroupsForConsumer ( _
    consumerName As String _
) As List(Of DisplayGroupInfo)
'Usage
Dim instance As SearchServiceApplication
Dim consumerName As String
Dim returnValue As List(Of DisplayGroupInfo)

returnValue = instance.GetDisplayGroupsForConsumer(consumerName)
public List<DisplayGroupInfo> GetDisplayGroupsForConsumer(
    string consumerName
)

Parameters

  • consumerName
    Type: System.String

    The name of the Search scope consumer.

Return Value

Type: System.Collections.Generic.List<DisplayGroupInfo>
A list of the DisplayGroupInfo objects that is managed by the SearchServiceApplication.

Implements

ISearchSiteAdministrationServiceApplication.GetDisplayGroupsForConsumer(String)

Remarks

The value of the consumerName parameter must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace