Share via


EntitySearchRequest.PageCount Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Gets the number of records to return per page.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public int PageCount { get; }
Public ReadOnly Property PageCount As Integer

Property Value

Type: System.Int32

Returns Int32
The number of records to return per page.

Remarks

This is used along with the PageNumber property. For example, if your query returns 500 records, you can specify PageCount as 50 to return 50 records in a page, which implies that you’ll have 10 pages of data (50 records * 10 pages = 500). Now, if you want to return records 100-150, specify the PageNumber value as 3.

See Also

EntitySearchRequest Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright