SPWorkflowAssociation.AutoCleanupDays Property
Gets or sets the number of days before instance data for the association is deleted. The default value is 60 days.
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 SPWorkflowAssociation
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.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation