SqlWorkflowInstanceStoreBehavior.InstanceCompletionAction Property

Definition

Gets or sets the InstanceCompletionAction property. This property specifies whether the instance state information is kept in the persistence database after the instance is completed.

public System.Activities.DurableInstancing.InstanceCompletionAction InstanceCompletionAction { get; set; }

Property Value

true if the instance state information is kept in the persistence database; otherwise false.

Remarks

Keeping instances after completion causes the persistence database to grow rapidly and this affects the performance of the database. You should configure a database purge policy to delete these records periodically to ensure that the performance of the database is at the level that satisfy your performance requirements.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1