Share via


FederationManager.GetSource method

Returns a Result Source with the given Id that belongs to the specified owner.

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

Syntax

'Declaration
Public Function GetSource ( _
    sourceId As Guid, _
    owner As SearchObjectOwner _
) As Source
'Usage
Dim instance As FederationManager
Dim sourceId As Guid
Dim owner As SearchObjectOwner
Dim returnValue As Source

returnValue = instance.GetSource(sourceId, _
    owner)
public Source GetSource(
    Guid sourceId,
    SearchObjectOwner owner
)

Parameters

  • sourceId
    Type: System.Guid

    the Id of the Result Source (Must match Source.Id)

Return value

Type: Microsoft.Office.Server.Search.Administration.Query.Source
The specified Result Source, if one exists; null otherwise.

See also

Reference

FederationManager class

FederationManager members

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