Propriedade EntityCollection.TotalRecordCount

Aplica-se a: CRM 2015 on-prem, CRM Online

Gets the total number of records in the collection.ReturnTotalRecordCount was true when the query was executed .

Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

'Declaração
<DataMemberAttribute> _
Public Property TotalRecordCount As Integer
[DataMemberAttribute] 
public int TotalRecordCount { get; set; }

Valor de Propriedade

Type: Int32
The total number of records in the collection.

Comentários

If ReturnTotalRecordCount was false when the query was executed, the value of this property will be -1.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe EntityCollection
Membros de EntityCollection
Namespace Microsoft.Xrm.Sdk
ReturnTotalRecordCount

Outros recursos

Use the QueryExpression Class

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