SqlTrackingQuery.GetWorkflows(SqlTrackingQueryOptions) 方法

定義

為與 SqlTrackingQueryOptions 指定之查詢參數對應的工作流程執行個體傳回追蹤資料。

public:
 System::Collections::Generic::IList<System::Workflow::Runtime::Tracking::SqlTrackingWorkflowInstance ^> ^ GetWorkflows(System::Workflow::Runtime::Tracking::SqlTrackingQueryOptions ^ options);
public System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance> GetWorkflows (System.Workflow.Runtime.Tracking.SqlTrackingQueryOptions options);
member this.GetWorkflows : System.Workflow.Runtime.Tracking.SqlTrackingQueryOptions -> System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>
Public Function GetWorkflows (options As SqlTrackingQueryOptions) As IList(Of SqlTrackingWorkflowInstance)

參數

options
SqlTrackingQueryOptions

指定查詢參數的 SqlTrackingQueryOptions

傳回

SqlTrackingWorkflowInstance 物件的清單,這些物件可讓您存取追蹤資料符合 options 指定之查詢參數的工作流程執行個體追蹤資料。

例外狀況

options 為 null 參考 (在 Visual Basic 中為 Nothing)。

ConnectionString 為 null 參考 (Nothing)。

適用於