Share via


WorkflowInstanceManager.GetInstances 方法 (Int32, Int32)

傳回工作流程執行個體的集合,這些執行個體具有要略過的指定數目和要擷取的計數。

命名空間:  Microsoft.Workflow.Client
組件:  Microsoft.Workflow.Client (在 Microsoft.Workflow.Client.dll 中)

語法

'宣告
Public Function GetInstances ( _
    skip As Integer, _
    count As Integer _
) As Collection(Of WorkflowInstanceInfo)
'用途
Dim instance As WorkflowInstanceManager 
Dim skip As Integer 
Dim count As Integer 
Dim returnValue As Collection(Of WorkflowInstanceInfo)

returnValue = instance.GetInstances(skip, _
    count)
public Collection<WorkflowInstanceInfo> GetInstances(
    int skip,
    int count
)
public:
Collection<WorkflowInstanceInfo^>^ GetInstances(
    int skip, 
    int count
)
member GetInstances : 
        skip:int * 
        count:int -> Collection<WorkflowInstanceInfo> 
public function GetInstances(
    skip : int, 
    count : int
) : Collection<WorkflowInstanceInfo>

參數

  • skip
    型別:System.Int32
    要略過的工作流程執行個體數目。
  • count
    型別:System.Int32
    要擷取的工作流程執行個體數目。

傳回值

型別:System.Collections.ObjectModel.Collection<WorkflowInstanceInfo>
工作流程執行個體的集合。

請參閱

參考

WorkflowInstanceManager 類別

GetInstances 多載

Microsoft.Workflow.Client 命名空間