SPChangeQuery.FetchLimit Property

Gets or sets a limit on the number of changes returned by the query on a single trip to the change log.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public long FetchLimit { get; set; }

Property Value

Type: System.Int64
The limit on the number of changes to return per round trip. The default value is 1000. The maximum value is 2000.

The total number of changes recorded in the change log could be very large, depending on the retention period set for the log and the scope of the query. Attempting to fetch all changes in a single round trip could place an unnecessarily high demand on network and server resources. For performance reasons, changes are returned in batches of limited size. You can use the FetchLimit property to adjust the size of the batches.

Show: