SPAllSitesJobDefinition 类

此作业循环通过 Web 应用程序中的所有站点。如果计时器重新启动或停止运行该作业时,它支持暂停和恢复。

继承层次结构

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.SPAllSitesJobDefinition
              Microsoft.SharePoint.Administration.SPSiteInventoryCollectionJobDefinition

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

语法

声明
<GuidAttribute("F8C81FDE-FDD6-4D21-A933-BB78CE8CEEB6")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAllSitesJobDefinition _
    Inherits SPContentDatabaseJobDefinition
用法
Dim instance As SPAllSitesJobDefinition
[GuidAttribute("F8C81FDE-FDD6-4D21-A933-BB78CE8CEEB6")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPAllSitesJobDefinition : SPContentDatabaseJobDefinition

线程安全性

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

另请参阅

引用

SPAllSitesJobDefinition 成员

Microsoft.SharePoint.Administration 命名空间