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

Return value

Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
Returns the specified WorkflowInstanceCollection.

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

Enumerate overload

Microsoft.SharePoint.WorkflowServices namespace