Redigera

Dela via


SqlTrackingQueryOptions.Clear Method

Definition

Resets the properties of the SqlTrackingQueryOptions to their default values.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Remarks

The following table shows the initial property values for an instance of the SqlTrackingQueryOptions class.

Property Value
StatusMaxDateTime MaxValue.
StatusMinDateTime MinValue.
TrackingDataItems An empty List<T>.
WorkflowStatus A null reference (Nothing in Visual Basic).
WorkflowType A null reference (Nothing in Visual Basic).

These values specify that a call to SqlTrackingQuery.GetWorkflows should return a SqlTrackingWorkflowInstance object for every workflow instance that has tracking data in the database.

Applies to