다음을 통해 공유


SPWorkflowTemplate.AutoCleanupDays Property

Gets or sets the number of days before instance data for the association is deleted.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property AutoCleanupDays As Integer
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As Integer

value = instance.AutoCleanupDays

instance.AutoCleanupDays = value
public int AutoCleanupDays { get; set; }

Property Value

Type: System.Int32
The number of days before instance data is deleted.

Remarks

The default value is 60 days.

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation