Share via


SPContentDatabase.SearchServiceInstance property

Gets or sets an instance of the search service that is associated with the content database.

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

Syntax

'Declaration
Public Property SearchServiceInstance As SPServiceInstance
    Get
    Set
'Usage
Dim instance As SPContentDatabase
Dim value As SPServiceInstance

value = instance.SearchServiceInstance

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

Property value

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

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace