Compartilhar via


FederationManager.GetSource method

Retorna uma fonte resultado com a Id especificada pertence a proprietário especificado.

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

Syntax

'Declaração
Public Function GetSource ( _
    sourceId As Guid, _
    owner As SearchObjectOwner _
) As Source
'Uso
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
)

Parâmetros

  • sourceId
    Type: System.Guid

    a identificação da origem do resultado (deve corresponder Source.Id)

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.Query.Source
O resultado de origem especificado, se existir; outra forma de nulo.

Ver também

Referência

FederationManager class

FederationManager members

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