Share via


KeywordQuery.TrimDuplicatesOnProperty property

Gets or sets the property the duplicates trimming is based on.

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

Syntax

'Declaration
Public Property TrimDuplicatesOnProperty As String
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.TrimDuplicatesOnProperty

instance.TrimDuplicatesOnProperty = value
public string TrimDuplicatesOnProperty { get; set; }

Property value

Type: System.String
The property name.

Remarks

For more information, see Customizing search results in SharePoint 2013.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace