SqlTrackingService.PartitionOnCompletion Property

 

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.

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

public bool PartitionOnCompletion { get; set; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.0
Return to top
Show: