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

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