FederationManager.GetDefaultSource method
Retrieves the default result source for the given owner.
Namespace: Microsoft.Office.Server.Search.Administration.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetDefaultSource ( _
owner As SearchObjectOwner _
) As Source
'Usage
Dim instance As FederationManager
Dim owner As SearchObjectOwner
Dim returnValue As Source
returnValue = instance.GetDefaultSource(owner)
public Source GetDefaultSource(
SearchObjectOwner owner
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe SearchObjectOwner for which the default result source needs to be retrieved.
Return value
Type: Microsoft.Office.Server.Search.Administration.Query.Source
Returns the default result source for the given owner.
See also
Reference
Microsoft.Office.Server.Search.Administration.Query namespace