This documentation is archived and is not being maintained.

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


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.


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


ConnectionString is a null reference (Nothing).

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.

.NET Framework

Supported in: 3.5, 3.0