Share via


KeywordQuery.TrimDuplicatesKeepCount Property

Gets or sets the number of duplicates to keep, if duplicates are returned in the search results.

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

Syntax

'Declaration
Public Property TrimDuplicatesKeepCount As Integer
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As Integer

value = instance.TrimDuplicatesKeepCount

instance.TrimDuplicatesKeepCount = value
public int TrimDuplicatesKeepCount { get; set; }

Property Value

Type: System.Int32
The number of duplicate search results to keep.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace