Share via


QueryByAttribute.PageInfo Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Gets or sets the number of pages and the number of entity instances per page returned from the query.

Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property PageInfo As PagingInfo
[DataMemberAttribute] 
public PagingInfo PageInfo { get; set; }

Property Value

Type: PagingInfo
The number of pages and the number of entity instances per page returned from the query.

A query can contain either PageInfo or TopCount property values. If both are specified, an error will be thrown.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

QueryByAttribute Class
QueryByAttribute Members
Microsoft.Xrm.Sdk.Query Namespace
Using a Paging Cookie with Query Expression

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