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)
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 Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview