SPWorkItemCollection.RevertInProgressWorkItem method

Marks an in-process work item as not yet completed, but also not processed. Has the effect of returning the work item to an unprocessed state so it is picked up during a subsequent invocation of the RunnableWorkItems query.

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

Syntax

'Declaration
Public Sub RevertInProgressWorkItem ( _
    workItemId As Guid _
)
'Usage
Dim instance As SPWorkItemCollection
Dim workItemId As Guid

instance.RevertInProgressWorkItem(workItemId)
public void RevertInProgressWorkItem(
    Guid workItemId
)

Parameters

  • workItemId
    Type: System.Guid

    Unique identifier of the work item to be reverted.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace

SPWorkItemCollection.RevertInProgressWorkItem