Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property BatchId As Guid
Get
'Usage
Dim instance As SPWorkItem
Dim value As Guid
value = instance.BatchId
public Guid BatchId { get; }
Type: System.Guid
Work items are processed in sort order based on a composite sort key that includes the following properties: Type, DeliveryDate, Site, UserId, WebId, BatchID, and ID.
Because both throttling operations rely on the BatchID property, you must set this property if you intend your ISPWorkItemHost to implement throttling.
Please sign in to use this experience.
Sign in