다음을 통해 공유


SPDeleteJobHistoryJobDefinition Class

Deletes old job history entries.

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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("508C28DD-D6A7-4883-B7F7-2BAC2655338A")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDeleteJobHistoryJobDefinition _
    Inherits SPFirstAvailableServiceJobDefinition
'Usage
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.

See Also

Reference

SPDeleteJobHistoryJobDefinition Members

Microsoft.SharePoint.Administration Namespace