Share via


SPWorkItemCollection.ProcessingBatchSize property

Gets or sets the maximum number of work items that are paged in to a processing timer job.

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

Syntax

'Declaration
Public Property ProcessingBatchSize As Integer
    Get
    Set
'Usage
Dim instance As SPWorkItemCollection
Dim value As Integer

value = instance.ProcessingBatchSize

instance.ProcessingBatchSize = value
public int ProcessingBatchSize { get; set; }

Property value

Type: System.Int32
Returns an integer specifying the maximum batch size.

Remarks

Use this method to help throttle, or regulate, the flow of work items exposed to the timer job definition. Optimizing this value requires testing behavior on the hardware and software in use.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace

Microsoft.SharePoint.Administration.SPWorkItemJobDefinition