This documentation is archived and is not being maintained.
SqlTrackingQuery::GetWorkflows Method
Visual Studio 2010
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). |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: