SPAdministrationServiceJobDefinition 类
专用的计时器作业定义调用 SharePoint 管理服务。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPJobDefinition
Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition
Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition
Microsoft.SharePoint.Administration.SPUpgradeJobDefinition
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<GuidAttribute("8B686CB8-5D39-4307-9DD5-0EEEBBD00ADC")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAdministrationServiceJobDefinition _
Inherits SPJobDefinition
用法
Dim instance As SPAdministrationServiceJobDefinition
[GuidAttribute("8B686CB8-5D39-4307-9DD5-0EEEBBD00ADC")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPAdministrationServiceJobDefinition : SPJobDefinition
备注
这种类型的计时器作业只能通过创建具有管理员权限的用户身份。此外,如果在计时器服务拾取新作业的时间管理服务禁用本地计算机上将不会运行这种类型的作业。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。