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)

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