SPWorkItem.Type property

Gets the globally unique identifier (GUID) that specifies the work item type for SPWorkItem objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public ReadOnly Property Type As Guid
Dim instance As SPWorkItem
Dim value As Guid

value = instance.Type
public Guid Type { get; }

Property value

Type: System.Guid
Returns a GUID that specifies a work item type.


This property allows the processing priority queue to sort items in the queue by type. Work item batches are retrieved by type; that is, each batch comprises work items of the same type.

Work items are processed in sorted order, of which Type is a part of the ordering, based on the composite sort key: Type, DeliveryDate, Site, UserId, WebId, BatchID, and ID.

See also


SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace