SearchResultsBaseWebPart.ShowMessages Property
Gets or sets a Boolean value that specifies whether to display error messages.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("SearchResults_ShowMessages", "", "SearchResults_ShowMessages_ToolTip")> _
<WebBrowsableAttribute(True)> _
Public Property ShowMessages As Boolean
Get
Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As Boolean
value = instance.ShowMessages
instance.ShowMessages = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_ShowMessages", "", "SearchResults_ShowMessages_ToolTip")]
[WebBrowsableAttribute(true)]
public bool ShowMessages { get; set; }
Property Value
Type: System.Boolean
true to display error messages, otherwise false.
See Also
Reference
SearchResultsBaseWebPart Class