Share via


SearchResultsBaseWebPart.EnableNicknames Property

Gets or sets a Boolean value that specifies whether the exact terms in the search query are used to find matches, or if nicknames are used as well.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property EnableNicknames As Boolean
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As Boolean

value = instance.EnableNicknames

instance.EnableNicknames = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool EnableNicknames { get; set; }

Property Value

Type: System.Boolean
true if nicknames are used; otherwise, false, if the exact terms are used.

Remarks

The default value is false.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace