This documentation is archived and is not being maintained.
SqlTrackingQuery.GetWorkflows Method
Visual Studio 2008
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)
'Declaration Public Function GetWorkflows ( _ options As SqlTrackingQueryOptions _ ) As IList(Of SqlTrackingWorkflowInstance) 'Usage Dim instance As SqlTrackingQuery Dim options As SqlTrackingQueryOptions Dim returnValue As IList(Of SqlTrackingWorkflowInstance) returnValue = instance.GetWorkflows(options)
Parameters
- options
- Type: System.Workflow.Runtime.Tracking.SqlTrackingQueryOptions
A SqlTrackingQueryOptions that specifies query parameters.
Return Value
Type: System.Collections.Generic.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.
| 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, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: