SearchServiceApplicationProxy.GetContainingDisplayGroups method

Retrieves a list of Search scope display groups that contains the specified Search scope.

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

Syntax

'Declaration
Public Function GetContainingDisplayGroups ( _
    scopeId As Integer _
) As List(Of Integer)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim scopeId As Integer
Dim returnValue As List(Of Integer)

returnValue = instance.GetContainingDisplayGroups(scopeId)
public List<int> GetContainingDisplayGroups(
    int scopeId
)

Parameters

Return value

Type: System.Collections.Generic.List<Int32>
A list of IDs of the Search ScopeDisplayGroup objects.

Implements

ISearchSiteAdministrationServiceApplication.GetContainingDisplayGroups(Int32)

Exceptions

Exception Condition
Exception

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

Remarks

The value of the scopeId parameter must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace