Partager via


KeywordQueryProperties.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
<DataMemberAttribute> _
Public Property TrimDuplicatesKeepCount As Integer
    Get
    Set
'Usage
Dim instance As KeywordQueryProperties
Dim value As Integer

value = instance.TrimDuplicatesKeepCount

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

Property Value

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

See Also

Reference

KeywordQueryProperties Class

KeywordQueryProperties Members

Microsoft.Office.Server.Search.Query Namespace