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