共用方式為


SPDeleteJobHistoryJobDefinition.DaysToKeepHistory property

若要保留計時器工作歷程記錄天數。預設值是 7 (一週)。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property DaysToKeepHistory As Double
    Get
    Set
'用途
Dim instance As SPDeleteJobHistoryJobDefinition
Dim value As Double

value = instance.DaysToKeepHistory

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

Property value

Type: System.Double
代表天數Double

請參閱

參照

SPDeleteJobHistoryJobDefinition class

SPDeleteJobHistoryJobDefinition members

Microsoft.SharePoint.Administration namespace