Share via


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)

Syntax

Public ReadOnly Property Type As Guid
    Get

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.

Remarks

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

Reference

SPWorkItem Class

SPWorkItem Members

Microsoft.SharePoint Namespace