Share via


SPDeleteJobHistoryJobDefinition.DaysToKeepHistory Property

Number of days to keep timer job history. The default is 7 (one week).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property DaysToKeepHistory As Double
    Get
    Set
'Usage
Dim instance As SPDeleteJobHistoryJobDefinition
Dim value As Double

value = instance.DaysToKeepHistory

instance.DaysToKeepHistory = value
public double DaysToKeepHistory { get; set; }

Property Value

Type: System.Double
A Double representing the number of days.

See Also

Reference

SPDeleteJobHistoryJobDefinition Class

SPDeleteJobHistoryJobDefinition Members

Microsoft.SharePoint.Administration Namespace