Compartir a través de


Propiedad EntityCollection.TotalRecordCount

Se aplica a: CRM 2015 on-prem, CRM Online

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

Espacio de nombres: Microsoft.Xrm.Sdk
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<DataMemberAttribute> _
Public Property TotalRecordCount As Integer
[DataMemberAttribute] 
public int TotalRecordCount { get; set; }

Valor de propiedad

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

Comentarios

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

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Clase de EntityCollection
Miembros de EntityCollection
Espacio de nombres de Microsoft.Xrm.Sdk
ReturnTotalRecordCount

Otros recursos

Use the QueryExpression Class

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