DataProviderScriptWebPart.TrimDuplicates property

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

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property TrimDuplicates As Boolean
    Get
    Set
'Usage
Dim instance As DataProviderScriptWebPart
Dim value As Boolean

value = instance.TrimDuplicates

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

Property value

Type: System.Boolean

See also

Reference

DataProviderScriptWebPart class

DataProviderScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace

Other resources

Customizing search results in SharePoint 2013