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)
Syntax
'Declaration
Public ReadOnly Property SearchServiceInstance As SPServiceInstance
Get
'Usage
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.