Share via


SearchServiceApplicationProxy.GetDisplayGroupsForConsumer method

Retrieves a list of information about the scope display groups that are owned by the specified Search scope consumer.

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 SearchServiceApplicationProxy
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 owned by the specified Search scope consumer.

Implements

ISearchSiteAdministrationServiceApplication.GetDisplayGroupsForConsumer(String)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

The value of the consumerName parameter must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace