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)

Syntax

'Declaration
Public Property FetchLimit As Long
    Get
    Set
'Usage
Dim instance As SPChangeQuery
Dim value As Long

value = instance.FetchLimit

instance.FetchLimit = value
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.

Remarks

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.

See also

Reference

SPChangeQuery class

SPChangeQuery members

Microsoft.SharePoint namespace