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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation