SqlTrackingQuery Class

 
Note: This API is now obsolete.

Contains methods and properties that are used to manage queries to the tracking data that is contained in the SQL database used by a SqlTrackingService.

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

System.Object
  System.Workflow.Runtime.Tracking.SqlTrackingQuery

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class SqlTrackingQuery

NameDescription
System_CAPS_pubmethodSqlTrackingQuery()

Initializes a new instance of the SqlTrackingQuery class.

System_CAPS_pubmethodSqlTrackingQuery(String)

Initializes a new instance of the SqlTrackingQuery class.

NameDescription
System_CAPS_pubpropertyConnectionString

The connection string of the SQL tracking database to query.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetWorkflows(SqlTrackingQueryOptions)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetWorkflow(Guid, SqlTrackingWorkflowInstance)

Tries to get query data for a specified workflow instance.

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

SqlTrackingQuery provides methods and properties that you can use in order to access certain kinds of tracking data stored in a SQL database by the SqlTrackingService. Access to this data is provided through SqlTrackingWorkflowInstance objects. You can call TryGetWorkflow to try to get a SqlTrackingWorkflowInstance for a specific workflow instance. You can call GetWorkflows to get a collection of SqlTrackingWorkflowInstance objects that correspond workflow instances that have tracking data that matches a set of query parameters contained in a SqlTrackingQueryOptions that is passed as a parameter to the method. See the SqlTrackingWorkflowInstance class for more information about the kind of tracking data available and see the SqlTrackingQueryOptions class for more information about the kind of queries that can be performed.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: