QueryExpression.TopCount-egenskab
Gets or sets the number of rows to be returned.
Navneområde: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)
Syntaks
'Deklaration
<DataMemberAttribute(Order:=50, EmitDefaultValue:=False)> _
Public Property TopCount As Nullable(Of Integer)
[DataMemberAttribute(Order=50, EmitDefaultValue=false)]
public Nullable<int> TopCount { get; set; }
Egenskabsværdi
Type: Int32
The number of rows to be returned.
Bemærkninger
When specified, this limits the number rows returned in a query result set to the specified number of rows.
A query can contain either PageInfo or TopCount property values. If both are specified, an error will be thrown.
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.