Share via


SPWorkItemJobDefinition.BatchFetchLimit property

Gets an integer specifying the limit imposed on the batch size of the work-item collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property BatchFetchLimit As Integer
    Get
'Usage
Dim instance As SPWorkItemJobDefinition
Dim value As Integer

value = instance.BatchFetchLimit
public virtual int BatchFetchLimit { get; }

Property value

Type: System.Int32
Returns the WorkItemEventDeliveryBatchSize (ContentService) for the work item collection.

Remarks

This is a paging size that is set, by default, to 100, so that work items are paged in 100-item batches.

If set to zero, all runnable work items are paged in. This should be done with caution.

See also

Reference

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

Microsoft.SharePoint.Administration namespace

SPWebService.ContentService

Microsoft.SharePoint.SPWorkItemCollection