QueryExpression.Distinct Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets whether the results of the query contain duplicate entity instances.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public bool Distinct { get; set; }
<DataMemberAttribute>
Public Property Distinct As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if the results of the query contain duplicate entity instances; otherwise, false.

See Also

QueryExpression Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright