WorkflowInstanceManager.GetInstances Method (Int32, Int32, WorkflowInstanceStatus, array<String[])

Returns the collection of workflow instances with specified skip value, count, workflow status and activation metadata filter.

Namespace:  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Syntax

'Declaration
Public Function GetInstances ( _
    skip As Integer, _
    count As Integer, _
    workflowStatus As WorkflowInstanceStatus, _
    ParamArray activationMetadataFilter As String() _
) As Collection(Of WorkflowInstanceInfo)
'Usage
Dim instance As WorkflowInstanceManager 
Dim skip As Integer 
Dim count As Integer 
Dim workflowStatus As WorkflowInstanceStatus 
Dim activationMetadataFilter As String()
Dim returnValue As Collection(Of WorkflowInstanceInfo)

returnValue = instance.GetInstances(skip, _
    count, workflowStatus, activationMetadataFilter)
public Collection<WorkflowInstanceInfo> GetInstances(
    int skip,
    int count,
    WorkflowInstanceStatus workflowStatus,
    params string[] activationMetadataFilter
)
public:
Collection<WorkflowInstanceInfo^>^ GetInstances(
    int skip, 
    int count, 
    WorkflowInstanceStatus workflowStatus, 
    ... array<String^>^ activationMetadataFilter
)
member GetInstances : 
        skip:int * 
        count:int * 
        workflowStatus:WorkflowInstanceStatus * 
        activationMetadataFilter:string[] -> Collection<WorkflowInstanceInfo> 
public function GetInstances(
    skip : int, 
    count : int, 
    workflowStatus : WorkflowInstanceStatus, 
    ... activationMetadataFilter : String[]
) : Collection<WorkflowInstanceInfo>

Parameters

  • skip
    Type: System.Int32
    The number of workflow instances to skip.
  • count
    Type: System.Int32
    The number of workflow instances to retrieve.
  • activationMetadataFilter
    Type: array<System.String[]
    The collection of metadata that filters the workflow instances to be retrieved.

Return Value

Type: System.Collections.ObjectModel.Collection<WorkflowInstanceInfo>
The collection of workflow instances.

See Also

Reference

WorkflowInstanceManager Class

GetInstances Overload

Microsoft.Workflow.Client Namespace