RefinementWebPart.ShowMessages property

Gets or sets a value indicating whether messages are shown if there are exceptions from the object model (OM).

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

Syntax

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

value = instance.ShowMessages

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

Property value

Type: System.Boolean
true the messages are shown if there are exceptions from the OM; otherwise, false.

See also

Reference

RefinementWebPart class

RefinementWebPart members

Microsoft.Office.Server.Search.WebControls namespace