WorkflowInstanceManager.GetInstances Method (Int32, Int32, String)

Returns the collection of workflow instances with specified skip value, count, and workflow name.

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

Syntax

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

returnValue = instance.GetInstances(skip, _
    count, workflowName)
public Collection<WorkflowInstanceInfo> GetInstances(
    int skip,
    int count,
    string workflowName
)
public:
Collection<WorkflowInstanceInfo^>^ GetInstances(
    int skip, 
    int count, 
    String^ workflowName
)
member GetInstances : 
        skip:int * 
        count:int * 
        workflowName:string -> Collection<WorkflowInstanceInfo> 
public function GetInstances(
    skip : int, 
    count : int, 
    workflowName : 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.
  • workflowName
    Type: System.String
    The name of the workflow to which the instances belongs.

Return Value

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

See Also

Reference

WorkflowInstanceManager Class

GetInstances Overload

Microsoft.Workflow.Client Namespace