共用方式為


SPPausableJobDefinition Class

Represents a job definition that can be paused. This is an abstract class deriving from [Microsoft.SharePoint.Administration.SPJobDefinition] class.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPPausableJobDefinition
          Microsoft.SharePoint.Administration.SPContentDatabaseJobDefinition
          Microsoft.SharePoint.Administration.SPFirstAvailableServiceJobDefinition
          Microsoft.SharePoint.Administration.SPServerJobDefinition
          Microsoft.SharePoint.Administration.SPServiceJobDefinition
          Microsoft.SharePoint.Administration.SPWorkItemJobDefinition

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

Syntax

'Declaration
<GuidAttribute("6F71653C-737A-41F9-98AD-10958A2E412E")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPPausableJobDefinition _
    Inherits SPJobDefinition
'Usage
Dim instance As SPPausableJobDefinition
[GuidAttribute("6F71653C-737A-41F9-98AD-10958A2E412E")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPPausableJobDefinition : SPJobDefinition

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

SPPausableJobDefinition Members

Microsoft.SharePoint.Administration Namespace