Share via


VisualBestBetWebPart.ShowMessages property

Gets or sets a Boolean value that specifies whether errors should be shown or not.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<ResourcesAttribute("SearchResults_ShowMessages", "", "SearchResults_ShowMessages_ToolTip")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ShowMessages As Boolean
    Get
    Set
'Usage
Dim instance As VisualBestBetWebPart
Dim value As Boolean

value = instance.ShowMessages

instance.ShowMessages = value
[WebBrowsableAttribute(true)]
[ResourcesAttribute("SearchResults_ShowMessages", "", "SearchResults_ShowMessages_ToolTip")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public bool ShowMessages { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

VisualBestBetWebPart class

VisualBestBetWebPart members

Microsoft.Office.Server.Search.WebControls namespace