Share via


IQuerypipelineManager.GetResultSourceListWithDefault method

List result sources according to a SearchObjectFilter along with the default result source for the given SearchObjectOwner in filter.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetResultSourceListWithDefault ( _
    filter As SearchObjectFilter, _
    includeInactive As Boolean, _
    <OutAttribute> ByRef defaultSource As SourceRecord _
) As List(Of SourceRecord)
'Usage
Dim instance As IQuerypipelineManager
Dim filter As SearchObjectFilter
Dim includeInactive As Boolean
Dim defaultSource As SourceRecord
Dim returnValue As List(Of SourceRecord)

returnValue = instance.GetResultSourceListWithDefault(filter, _
    includeInactive, defaultSource)
[OperationContractAttribute]
List<SourceRecord> GetResultSourceListWithDefault(
    SearchObjectFilter filter,
    bool includeInactive,
    out SourceRecord defaultSource
)

Parameters

  • includeInactive
    Type: System.Boolean

    If [true] inactive sources should be included in the filtered set otherwise not.

Return value

Type: System.Collections.Generic.List<SourceRecord>
A list of result sources.

See also

Reference

IQuerypipelineManager interface

IQuerypipelineManager members

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