Compartilhar via


FederationManager.ListReadOnlySources method

Lista fontes resultado de acordo com um SearchObjectFilter somente leitura.

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

Syntax

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

returnValue = instance.ListReadOnlySources(filter, _
    includeInactive)
public IEnumerable<ReadOnlySource> ListReadOnlySources(
    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<ReadOnlySource>
Um IEnumerable < origem > contendo fontes.

Ver também

Referência

FederationManager class

FederationManager members

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