Compartilhar via


SearchServiceApplicationProxy.GetContainingDisplayGroups method

Recupera uma lista de grupos de exibição de escopo de Search que contém o escopo especificado Search .

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

Syntax

'Declaração
Public Function GetContainingDisplayGroups ( _
    scopeId As Integer _
) As List(Of Integer)
'Uso
Dim instance As SearchServiceApplicationProxy
Dim scopeId As Integer
Dim returnValue As List(Of Integer)

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

Parâmetros

Valor retornado

Type: System.Collections.Generic.List<Int32>
Uma lista de IDs de objetos deScopeDisplayGroup a Search. 

Implements

ISearchSiteAdministrationServiceApplication.GetContainingDisplayGroups(Int32)

Exceptions

Exception Condition
Exception

Ocorreu um erro, como um SearchServiceApplicationFault, durante a execução do aplicativo.

Comentários

O valor do parâmetro scopeId não deve ser null .

Ver também

Referência

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace