SqlTrackingQuery.GetWorkflows Method

Returns tracking data for a set of workflow instances that correspond to a set of query parameters specified by a SqlTrackingQueryOptions.

Namespace: System.Workflow.Runtime.Tracking
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)

public IList<SqlTrackingWorkflowInstance> GetWorkflows (
	SqlTrackingQueryOptions options
public IList<SqlTrackingWorkflowInstance> GetWorkflows (
	SqlTrackingQueryOptions options
public function GetWorkflows (
	options : SqlTrackingQueryOptions
) : IList<SqlTrackingWorkflowInstance>
Not applicable.



A SqlTrackingQueryOptions that specifies query parameters.

Return Value

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 typeCondition


options is a null reference (Nothing in Visual Basic).


ConnectionString is a null reference (Nothing).

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0