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)
Available in Sandboxed Solutions: No

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