WorkflowInstanceService.Enumerate method (WorkflowSubscription, Int32)
Gets a workflow instance collection comprising 100 workflow instances starting at the specified offset.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute(Name := "EnumerateWithOffset")> _
Public MustOverride Function Enumerate ( _
parentSubscription As WorkflowSubscription, _
offset As Integer _
) As WorkflowInstanceCollection
'Usage
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim offset As Integer
Dim returnValue As WorkflowInstanceCollection
returnValue = instance.Enumerate(parentSubscription, _
offset)
[ClientCallableMethodAttribute(Name = "EnumerateWithOffset")]
public abstract WorkflowInstanceCollection Enumerate(
WorkflowSubscription parentSubscription,
int offset
)
Parameters
parentSubscription
Type: Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionThe WorkflowSubscription object associated with the instance collection.
offset
Type: System.Int32The number of instances to skip before returning the next 100 workflow instances.
Return value
Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
Returns the specified WorkflowInstanceCollection.