SqlTrackingQuery Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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.

public ref class SqlTrackingQuery sealed
public sealed class SqlTrackingQuery
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class SqlTrackingQuery
type SqlTrackingQuery = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type SqlTrackingQuery = class
Public NotInheritable Class SqlTrackingQuery
Inheritance
SqlTrackingQuery
Attributes

Remarks

Note

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.

Constructors

SqlTrackingQuery()

Initializes a new instance of the SqlTrackingQuery class.

SqlTrackingQuery(String)

Initializes a new instance of the SqlTrackingQuery class.

Properties

ConnectionString

The connection string of the SQL tracking database to query.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetWorkflows(SqlTrackingQueryOptions)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetWorkflow(Guid, SqlTrackingWorkflowInstance)

Tries to get query data for a specified workflow instance.

Applies to