WorkflowInstanceService.Enumerate method (WorkflowSubscription)
Gets a workflow instance collection comprising the 100 most recent workflow instances started by a specified subscription.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function Enumerate ( _
parentSubscription As WorkflowSubscription _
) As WorkflowInstanceCollection
'Usage
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim returnValue As WorkflowInstanceCollection
returnValue = instance.Enumerate(parentSubscription)
[ClientCallableMethodAttribute]
public abstract WorkflowInstanceCollection Enumerate(
WorkflowSubscription parentSubscription
)
Parameters
parentSubscription
Type: Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionThe WorkflowSubscription object associated with the instance collection.
Return value
Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
Returns the specified WorkflowInstanceCollection.