SearchServiceInstance property
Collapse the table of content
Expand the table of content

SPSite.SearchServiceInstance property

Gets an SPServiceInstance object that represents an instance of the SharePoint Search service that is associated with the site collection.

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

public SPServiceInstance SearchServiceInstance { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServiceInstance
An SPServiceInstance object that represents the SharePoint Search service instance.
© 2015 Microsoft