SPWorkItemCollection methods

The SPWorkItemCollection type exposes the following members.

Methods

  Name Description
Public method CompleteInProgressWorkItems Marks the list of in-progress work items as "complete" upon successfully processing the work item collection. Has the added effect of keeping the work items in the work item table, but in a state where they are not picked up by the GetRunnableWorkItems query.
Public method CopyTo Copies one work item collection as an array into another work item collection.
Public method DeleteInProgressWorkItems 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.
Public method DeleteWorkItem Deletes a single specified work item from the processing queue.
Public methodStatic member DoesUserHaveWorkItems Checks whether the specified user has any work items for any of the specified work item types.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public methodStatic member GetWorkItemCount Returns the number of work items of the specified work item type from the specified content database without fetching any actual work items.
Protected method MemberwiseClone (Inherited from Object.)
Public method RevertInProgressWorkItem 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.
Public method RevertInProgressWorkItems Marks an in-process work item collection as not yet completed, but also not processed. Has the effect of returning the entire collection to an unprocessed state so it is picked up during a subsequent invocation of the RunnableWorkItems query.
Public method SubCollection Returns an SPWorkItemCollection instance (as a subcollection) from individual sites while iterating over all sites to assemble the full work item collection from the site-specific subcollections.
Public method ToString (Inherited from Object.)
Public method UpdateWorkItem Allows you to change the delivery date, the binary payload, or the text payload on a specified work item.

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPWorkItemCollection class

Microsoft.SharePoint namespace