Partager via


SearchResultsBaseWebPart.DefaultSearchProvider Property

Gets the default search provider for the search query.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected ReadOnly Property DefaultSearchProvider As SearchProvider
    Get
'Usage
Dim value As SearchProvider

value = Me.DefaultSearchProvider
protected SearchProvider DefaultSearchProvider { get; }

Property Value

Type: Microsoft.Office.Server.Search.Query.SearchProvider
A value from the SearchProvider enumeration.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace