다음을 통해 공유


SearchServiceApplication.GetContainingDisplayGroups Method

Retrieves a list of SearchScopeDisplayGroup objects 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 SearchServiceApplication
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 containing SearchScopeDisplayGroup.

Implements

ISearchSiteAdministrationServiceApplication.GetContainingDisplayGroups(Int32)

Remarks

The value of the scopeId parameter must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace