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)
Syntax . . :: . IList< (Of < ( 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.
Public Function GetWorkflows ( _
options As SqlTrackingQueryOptions _
) As IList(Of SqlTrackingWorkflowInstance)public IList<SqlTrackingWorkflowInstance> GetWorkflows(
SqlTrackingQueryOptions options
)public:
IList<SqlTrackingWorkflowInstance^>^ GetWorkflows(
SqlTrackingQueryOptions^ options
)member GetWorkflows :
options:SqlTrackingQueryOptions -> IList<SqlTrackingWorkflowInstance>
Parameters
- options
- Type: System.Workflow.Runtime.Tracking
. . :: . SqlTrackingQueryOptions
A SqlTrackingQueryOptions that specifies query parameters.
Return Value
Type: System.Collections.GenericA 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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | options is a null reference (Nothing in Visual Basic). |
| InvalidOperationException | ConnectionString is a null reference (Nothing). |
.NET Framework Security
- 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.
Platforms
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.