SqlWorkflowInstanceStoreBehavior.InstanceCompletionAction 属性

定义

获取或设置 InstanceCompletionAction 属性。 此属性指定在实例完成之后,是否在永久性数据库中保留实例状态信息。

public:
 property System::Activities::DurableInstancing::InstanceCompletionAction InstanceCompletionAction { System::Activities::DurableInstancing::InstanceCompletionAction get(); void set(System::Activities::DurableInstancing::InstanceCompletionAction value); };
public System.Activities.DurableInstancing.InstanceCompletionAction InstanceCompletionAction { get; set; }
member this.InstanceCompletionAction : System.Activities.DurableInstancing.InstanceCompletionAction with get, set
Public Property InstanceCompletionAction As InstanceCompletionAction

属性值

InstanceCompletionAction

如果在永久性数据库中保留实例状态信息,则为 true;否则为 false

注解

完成实例之后保留实例会导致持久性数据库快速增大,这会影响数据库的性能。 您应当配置数据库清除策略来定期删除这些记录,以确保数据库的性能水平能够满足性能要求。

适用于