Share via


QueryProperties.TrimDuplicates property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<DataMemberAttribute> _
<ObsoleteAttribute("This class is obsolete.")> _
Public Property TrimDuplicates As Boolean
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Boolean

value = instance.TrimDuplicates

instance.TrimDuplicates = value
[DataMemberAttribute]
[ObsoleteAttribute("This class is obsolete.")]
public bool TrimDuplicates { get; set; }

Property value

Type: System.Boolean
true if duplicate items are removed from the search results; otherwise, false.

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.SharePoint.Search.Query namespace