Del via


QueryExpression.Distinct-egenskab

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

Navneområde: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

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

Egenskabsværdi

Type: Boolesk værdi
true if the results of the query contain duplicate entity instances; otherwise, false.

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Se også

Reference

QueryExpression-klasse
QueryExpression-medlemmer
Microsoft.Xrm.Sdk.Query-navneområde

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.