共用方式為


SPDeleteJobHistoryJobDefinition class

會刪除舊的工作歷程記錄項目。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPPausableJobDefinition
          Microsoft.SharePoint.Administration.SPFirstAvailableServiceJobDefinition
            Microsoft.SharePoint.Administration.SPDeleteJobHistoryJobDefinition

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

Syntax

'宣告
<GuidAttribute("508C28DD-D6A7-4883-B7F7-2BAC2655338A")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDeleteJobHistoryJobDefinition _
    Inherits SPFirstAvailableServiceJobDefinition
'用途
Dim instance As SPDeleteJobHistoryJobDefinition
[GuidAttribute("508C28DD-D6A7-4883-B7F7-2BAC2655338A")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDeleteJobHistoryJobDefinition : SPFirstAvailableServiceJobDefinition

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPDeleteJobHistoryJobDefinition members

Microsoft.SharePoint.Administration namespace