CoreResultsWebPart.ShowMessages Property

Gets or sets a value that indicates whether the CoreResultsWebPart Web Part should display error messages returned by the Query engine.

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 CoreResultsWebPart
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 if the error messages are displayed; otherwise, false.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace