Partilhar 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