SqlTrackingQuery::GetWorkflows Method (SqlTrackingQueryOptions^)
.NET Framework (current version)
Returns tracking data for a set of workflow instances that correspond to a set of query parameters specified by a SqlTrackingQueryOptions.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
public:
IList<SqlTrackingWorkflowInstance^>^ GetWorkflows(
SqlTrackingQueryOptions^ options
)
Parameters
- options
-
Type:
System.Workflow.Runtime.Tracking::SqlTrackingQueryOptions^
A SqlTrackingQueryOptions that specifies query parameters.
Return Value
Type: System.Collections.Generic::IList<SqlTrackingWorkflowInstance^>^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.
| Exception | Condition |
|---|---|
| ArgumentNullException | options is a null reference (Nothing in Visual Basic). |
| InvalidOperationException | ConnectionString is a null reference (Nothing). |
.NET Framework
Available since 3.0
Available since 3.0
Show: