Share via


BulkWorkflowWIJD.ProcessWorkItem Method

ProcessWorkItem For each workitem, get the tasks that need to be completed and call AlterTodo on them.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Protected Overrides Function ProcessWorkItem ( _
    db As SPContentDatabase, _
    workItems As SPWorkItemCollection, _
    workItem As SPWorkItem, _
    jobState As SPJobState _
) As Boolean
'Usage
Dim db As SPContentDatabase
Dim workItems As SPWorkItemCollection
Dim workItem As SPWorkItem
Dim jobState As SPJobState
Dim returnValue As Boolean

returnValue = Me.ProcessWorkItem(db, _
    workItems, workItem, jobState)
protected override bool ProcessWorkItem(
    SPContentDatabase db,
    SPWorkItemCollection workItems,
    SPWorkItem workItem,
    SPJobState jobState
)

Parameters

Return Value

Type: System.Boolean
True if the job should continue processing workitems

See Also

Reference

BulkWorkflowWIJD Class

BulkWorkflowWIJD Members

Microsoft.Office.Workflow Namespace