This topic has not yet been rated - Rate this topic

SPWorkItemJobDefinition.ProcessWorkItems method (SPContentDatabase, SPWorkItemCollection, SPJobState)

Launches the processing of work items and specifies the content database, the work item collection that contains the work items, and the current state of the pausable timer jobs.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
protected virtual bool ProcessWorkItems(
	SPContentDatabase contentDatabase,
	SPWorkItemCollection workItems,
	SPJobState jobState
)

Parameters

contentDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabase
The SPContentDatabase instance that contains the work item.
workItems
Type: Microsoft.SharePoint.SPWorkItemCollection
The work item collection (SPWorkItemCollection instance) that contains the work item to process.
jobState
Type: Microsoft.SharePoint.Administration.SPJobState
The current state of the pausable timer job as represented by the SPJobState instance.

Return value

Type: System.Boolean
Returns Booleantrue if the timer job should continue processing the work item.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.