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

返回

IList<SqlTrackingWorkflowInstance>

SqlTrackingWorkflowInstance 对象的列表,这些对象为跟踪数据与 options 所指定查询参数匹配的工作流实例集提供对跟踪数据的访问。

例外

options 为空引用(在 Visual Basic 中为 Nothing)。

ConnectionString 为空引用 (Nothing)。

适用于