다음을 통해 공유


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

value = instance.ShowMessages

instance.ShowMessages = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_ShowMessages", "", "SearchResults_ShowMessages_ToolTip")]
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