Share via


QueryExpression.Distinct Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property bool Distinct {
    bool get();
    void set(bool value);
}
[<DataMemberAttribute>]
member Distinct : bool with 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

© 2016 Microsoft. All rights reserved. Copyright