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
)

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.

ExceptionCondition
ArgumentNullException

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

InvalidOperationException

ConnectionString is a null reference (Nothing).

.NET Framework

Supported in: 4, 3.5, 3.0

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: