Share via


CatalogConnectionSettings.ResultSourceId property

Gets or sets the ID of the search result source that is associated with this catalog.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property ResultSourceId As Guid
    Get
    Set
'Usage
Dim instance As CatalogConnectionSettings
Dim value As Guid

value = instance.ResultSourceId

instance.ResultSourceId = value
public Guid ResultSourceId { get; set; }

Property value

Type: System.Guid

Remarks

The result source can be used with a Content Search Web Part to scope results to the catalog.

See also

Reference

CatalogConnectionSettings class

CatalogConnectionSettings members

Microsoft.SharePoint.Publishing namespace

Microsoft.Office.Server.Search.Administration.Query.Source