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)

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

SPWorkflowAssociation class

SPWorkflowAssociation members

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