Share via


Query.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.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Property EnableNicknames As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.EnableNicknames

instance.EnableNicknames = value
public bool EnableNicknames { get; set; }

Property value

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

Remarks

The default value is false.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace