SPServiceJobDefinition 类

配置服务时该服务器场中每台服务器运行的计时器作业。

继承层次结构

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPPausableJobDefinition
          Microsoft.SharePoint.Administration.SPServiceJobDefinition

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<GuidAttribute("A52D9C20-97D9-4267-BC4A-58E42FB3557D")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPServiceJobDefinition _
    Inherits SPPausableJobDefinition
用法
Dim instance As SPServiceJobDefinition
[GuidAttribute("A52D9C20-97D9-4267-BC4A-58E42FB3557D")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPServiceJobDefinition : SPPausableJobDefinition

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPServiceJobDefinition 成员

Microsoft.SharePoint.Administration 命名空间