Share via


WorkflowInstanceService.EnumerateInstancesForListItem method (Guid, Int32, Int32)

Gets the instances for the specified list item, starting from the specified offset.

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

Syntax

'Declaration
<ClientCallableMethodAttribute(Name := "EnumerateInstancesForListItemWithOffset")> _
Public MustOverride Function EnumerateInstancesForListItem ( _
    listId As Guid, _
    itemId As Integer, _
    offset As Integer _
) As WorkflowInstanceCollection
'Usage
Dim instance As WorkflowInstanceService
Dim listId As Guid
Dim itemId As Integer
Dim offset As Integer
Dim returnValue As WorkflowInstanceCollection

returnValue = instance.EnumerateInstancesForListItem(listId, _
    itemId, offset)
[ClientCallableMethodAttribute(Name = "EnumerateInstancesForListItemWithOffset")]
public abstract WorkflowInstanceCollection EnumerateInstancesForListItem(
    Guid listId,
    int itemId,
    int offset
)

Parameters

  • listId
    Type: System.Guid

    The id of the list to which the item belongs.

  • itemId
    Type: System.Int32

    The id of the item to get the instances for.

  • offset
    Type: System.Int32

    The number of instances to skip before returning the next 100 instances.

Return value

Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
The workflow instance collection

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

EnumerateInstancesForListItem overload

Microsoft.SharePoint.WorkflowServices namespace