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
scopeId
Type: System.Int32The ID of the Search Scope object.
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