Share via


QuerySuggestionsWebPart.ShouldGetResults Property

Gets or sets a Boolean value specifying whether the Query Suggestions Web Part should retrieve query suggestions.

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

Syntax

'Declaration
Protected ReadOnly Property ShouldGetResults As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.ShouldGetResults
protected bool ShouldGetResults { get; }

Property Value

Type: System.Boolean
true if query suggestions should be retrieved; otherwise, false.

See Also

Reference

QuerySuggestionsWebPart Class

QuerySuggestionsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace