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)
Available in Sandboxed Solutions: No
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.GuidUnique identifier of the work item to be reverted.
See Also
Reference
Microsoft.SharePoint Namespace
SPWorkItemCollection.RevertInProgressWorkItem