Share via


SPWorkItem Members

Include Protected Members
Include Inherited Members

Provides properties that control the characteristics and behaviors of work item object instances. This class is used in conjunction with the Microsoft.SharePoint.SPWorkItemCollection class.

The SPWorkItem type exposes the following members.

Properties

  Name Description
Public property BatchId Gets a unique identifier (GUID) that identifies a specified group of SPWorkItem objects that are most logically processed (for performance) as a contiguous batch. For workflow events, the InstanceId value is used as the BatchId property for their respective work item instances.
Public property Created Gets a DateTime value specifying when the work item entered the workflow priority queue on the database. In the event of a failure in processing a work item, this value is reset to the system time of the failure.
Public property DeliveryDate Gets or sets a DateTime value specifying SQL Server time when the work item is picked off the priority queue for processing.
Public property Id Unique identifier of the work item.
Public property InternalState Instance value returned from the Microsoft.SharePoint.SPWorkItemStatus enumeration that specifies the current processing status of the work item.
Public property ItemGuid Provides a globally unique identifier (GUID) of a list item when a work item must be correlated with a specific list item. This is an optional property that is used when working with list items.
Public property ItemId Gets the item ID of a list item when a work item must be correlated with a specific list item. This is an optional property, used for working with list items.
Public property ParentId A globally unique identifier (GUID) that specifies a user-defined parent, or ancester, object appropriate to scope the data object that is correlated with the work item.
Public property SiteId A globally unique identifier (GUID) specifying a Web site associated with an SPWorkItem object. This is an optional property, used for working with SPSite objects
Public property SubType Gets the globally unique identifier (GUID) that specifies the work item subtype for SPWorkItem objects.
Public property TextPayload Serves as a store for user-defined string data, such as SML, that is associated with a work item.
Public property Type Gets the globally unique identifier (GUID) that specifies the work item type for SPWorkItem objects.
Public property UserId Gets an integer specifying the ID of the user who created the SPWorkItem object instance.
Public property WebId Gets a globally unique identifier (GUID) that identifies a Web site that is associated with an SPWorkItem object. This is an optional property, used for working with SPWeb objects

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPWorkItem Class

Microsoft.SharePoint Namespace