SPWorkItemCollection.DeleteInProgressWorkItems Method
Marks the list of in-progress work items as "complete" upon successfully processing the work item collection and deletes the work items from the processing queue.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub DeleteInProgressWorkItems ( _
parentId As Guid, _
typeId As Guid, _
batchId As Guid _
)
'Usage
Dim instance As SPWorkItemCollection
Dim parentId As Guid
Dim typeId As Guid
Dim batchId As Guid
instance.DeleteInProgressWorkItems(parentId, _
typeId, batchId)
public void DeleteInProgressWorkItems(
Guid parentId,
Guid typeId,
Guid batchId
)
Parameters
parentId
Type: System.GuidOptional. Specifies the GUID of the parent entity of the work item collection, if any.
typeId
Type: System.GuidRequired. Specifies the work item type for work items in the collection.
batchId
Type: System.GuidOptional. Specifies the GUID of the work item collection batch, if any.