Compartilhar via


FederationManager.ListSourcesWithDefault method

Listar fontes de resultado de acordo com um SearchObjectFilter com a fonte de resultado padrão para o dado SearchObjectOwner em filter.

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

Syntax

'Declaração
Public Function ListSourcesWithDefault ( _
    filter As SearchObjectFilter, _
    includeInactive As Boolean, _
    <OutAttribute> ByRef defaultSource As Source _
) As IEnumerable(Of Source)
'Uso
Dim instance As FederationManager
Dim filter As SearchObjectFilter
Dim includeInactive As Boolean
Dim defaultSource As Source
Dim returnValue As IEnumerable(Of Source)

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

Parâmetros

  • includeInactive
    Type: System.Boolean

    Se [true] inativos fontes devem ser incluídos no conjunto filtrado caso contrário não.

Valor retornado

Type: System.Collections.Generic.IEnumerable<Source>
Um enumerável de fontes do resultado.

Ver também

Referência

FederationManager class

FederationManager members

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