Upravit

Sdílet prostřednictvím


SqlTrackingQueryOptions.WorkflowType Property

Definition

Gets or sets the workflow instance Type that is used to constrain the set of SqlTrackingWorkflowInstance objects returned by a call to GetWorkflows(SqlTrackingQueryOptions).

public:
 property Type ^ WorkflowType { Type ^ get(); void set(Type ^ value); };
public Type WorkflowType { get; set; }
member this.WorkflowType : Type with get, set
Public Property WorkflowType As Type

Property Value

A Type. The default is a null reference (Nothing in Visual Basic).

Remarks

SqlTrackingQueryOptions constrains the set of SqlTrackingWorkflowInstance objects returned by a call to SqlTrackingQuery.GetWorkflows to those workflow instances that have the Type specified by WorkflowType, that have the status specified by WorkflowStatus during the period specified by StatusMinDateTime and StatusMaxDateTime, and that have extracted data that matches at least one of the TrackingDataItemValue objects specified by TrackingDataItems.

If WorkflowType is a null reference (Nothing), the set of SqlTrackingWorkflowInstance objects returned will not be constrained by workflow Type; in other words, a SqlTrackingWorkflowInstance object will be returned for any workflow instance that matches the parameters specified by the other properties of SqlTrackingQueryOptions.

Applies to