SqlTrackingQuery.GetWorkflows(SqlTrackingQueryOptions) 方法

定義

為與 SqlTrackingQueryOptions 指定之查詢參數對應的工作流程執行個體傳回追蹤資料。Returns tracking data for a set of workflow instances that correspond to a set of query parameters specified by a 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

指定查詢參數的 SqlTrackingQueryOptionsA SqlTrackingQueryOptions that specifies query parameters.

傳回

IList<SqlTrackingWorkflowInstance>

SqlTrackingWorkflowInstance 物件的清單,這些物件可讓您存取追蹤資料符合 options 指定之查詢參數的工作流程執行個體追蹤資料。A list of SqlTrackingWorkflowInstance objects that provide access to tracking data for the set of workflow instances with tracking data that matches the query parameters specified by options.

例外狀況

options 為 null 參考 (在 Visual Basic 中為 Nothing)。options is a null reference (Nothing in Visual Basic).

ConnectionString 為 null 參考 (Nothing)。ConnectionString is a null reference (Nothing).

適用於