SPFirstAvailableServiceJobDefinition 类

计时器作业将在指定的服务配置,在第一个可用的服务器上运行一个抽象基类。

继承层次结构

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

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

语法

声明
<GuidAttribute("D4BEAC61-D6CC-4BFA-B448-C59B0800CEC2")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPFirstAvailableServiceJobDefinition _
    Inherits SPPausableJobDefinition
用法
Dim instance As SPFirstAvailableServiceJobDefinition
[GuidAttribute("D4BEAC61-D6CC-4BFA-B448-C59B0800CEC2")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPFirstAvailableServiceJobDefinition : SPPausableJobDefinition

线程安全性

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

另请参阅

引用

SPFirstAvailableServiceJobDefinition 成员

Microsoft.SharePoint.Administration 命名空间