Share via


SPWebApplicationBuilder.SearchServiceInstance property

Gets or sets the search service instance that is used to crawl the new content database.

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

Syntax

'Declaration
Public Property SearchServiceInstance As SPSearchServiceInstance
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As SPSearchServiceInstance

value = instance.SearchServiceInstance

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

Property value

Type: SPSearchServiceInstance
An SPSearchServiceInstance object that represents the search service instance.

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace