Compartilhar via


FederationManager.ListSources method

Lista fontes de resultado de acordo com um SearchObjectFilter.

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

Syntax

'Declaração
Public Function ListSources ( _
    filter As SearchObjectFilter, _
    includeInactive As Boolean _
) As IEnumerable(Of Source)
'Uso
Dim instance As FederationManager
Dim filter As SearchObjectFilter
Dim includeInactive As Boolean
Dim returnValue As IEnumerable(Of Source)

returnValue = instance.ListSources(filter, _
    includeInactive)
public IEnumerable<Source> ListSources(
    SearchObjectFilter filter,
    bool includeInactive
)

Parâmetros

  • includeInactive
    Type: System.Boolean

    fontes True se inativas devem ser incluídos no conjunto filtrado; FALSO caso contrário.

Valor retornado

Type: System.Collections.Generic.IEnumerable<Source>
Um IEnumerable < origem > contendo fontes.

Ver também

Referência

FederationManager class

FederationManager members

Microsoft.Office.Server.Search.Administration.Query namespace