ערוך

שתף באמצעות


SqlTrackingService.PartitionOnCompletion Property

Definition

Gets or sets a value that specifies whether tracking data for a workflow instance should be moved to the currently active partition in the database when the workflow instance is completed.

public:
 property bool PartitionOnCompletion { bool get(); void set(bool value); };
public bool PartitionOnCompletion { get; set; }
member this.PartitionOnCompletion : bool with get, set
Public Property PartitionOnCompletion As Boolean

Property Value

true if tracking data should be moved to the currently active partition on workflow completion; otherwise, false. The default is false.

Remarks

The SqlTrackingService allows you to partition the database in order to provide an efficient method for archiving and deleting tracking records. If your database experiences long periods between down times or your database has no planned downtime, you can set PartitionOnCompletion to move tracking records associated with a workflow instance from the active instance tables to the currently active partition when the workflow instance completes. This allows you to archive or delete these records without having to lock the data in the active instance tables of the database. For more information about partitioning, see Data Maintenance with SqlTrackingService.

Applies to

See also