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)
Available in Sandboxed Solutions: No

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