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 ReadOnly Property SearchServiceInstance As SPServiceInstance
Dim instance As SPSite
Dim value As SPServiceInstance

value = instance.SearchServiceInstance
public SPServiceInstance SearchServiceInstance { get; }

Property value

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

See also


SPSite class

SPSite members

Microsoft.SharePoint namespace