Export (0) Print
Expand All

SPWorkItem properties

The SPWorkItem type exposes the following members.

  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
Show:
© 2014 Microsoft