Skip to content

Commit ea7786f

Browse files
committed
property not attribute
1 parent 3fe1605 commit ea7786f

File tree

1 file changed

+2
-2
lines changed
  • powerapps-docs/developer/data-platform/org-service/queryexpression

1 file changed

+2
-2
lines changed

powerapps-docs/developer/data-platform/org-service/queryexpression/count-rows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ contributors:
1414
---
1515
# Count rows using QueryExpression
1616

17-
Use the boolean [QueryExpression.PageInfo.ReturnTotalRecordCount](/dotnet/api/microsoft.xrm.sdk.query.paginginfo.returntotalrecordcount) to specify that the result include a count of all the records that meet the filter criteria, up to 5000. Use this when retrieving paged results to estimate the total number of pages to display.
17+
Use the boolean [QueryExpression.PageInfo.ReturnTotalRecordCount property](/dotnet/api/microsoft.xrm.sdk.query.paginginfo.returntotalrecordcount) to specify that the result include a count of all the records that meet the filter criteria, up to 5000. Use this when retrieving paged results to estimate the total number of pages to display.
1818

1919
You can't use the [QueryExpression.TopCount property](/dotnet/api/microsoft.xrm.sdk.query.queryexpression.topcount) together with `ReturnTotalRecordCount`..
2020

2121
## Example
2222

23-
When the `returntotalrecordcount` attribute value is `true`, the <xref:Microsoft.Xrm.Sdk.EntityCollection> returned from the [RetrieveMultiple](xref:Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple%2A) method includes values for the following properties:
23+
When the [ReturnTotalRecordCount property](/dotnet/api/microsoft.xrm.sdk.query.paginginfo.returntotalrecordcount) value is `true`, the <xref:Microsoft.Xrm.Sdk.EntityCollection> returned from the [RetrieveMultiple](xref:Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple%2A) method includes values for the following properties:
2424

2525

2626
|Property|Description|

0 commit comments

Comments
 (0)