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

指定查询参数的 A SqlTrackingQueryOptions

返回

一个对象列表 SqlTrackingWorkflowInstance ,这些对象提供对一组工作流实例的跟踪数据的访问权限,其中包含与指定的 options查询参数匹配的跟踪数据。

例外

options是空引用(Visual Basic 中的 Nothing)。

ConnectionString 为 null 引用 (Nothing)。

适用于