Partager via


Location.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.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property EnableNicknames As Boolean
    Get
    Set
'Usage
Dim instance As Location
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, if the exact terms are used. The default value is false.

Remarks

Do not use this property with FAST Search Server 2010 for SharePoint; if used, it will be ignored.

See Also

Reference

Location Class

Location Members

Microsoft.Office.Server.Search.Query Namespace