共用方式為


SPAllSitesJobDefinition class

此工作逐一查看 Web 應用程式中的所有網站。如果重新啟動或停止執行工作時計時器,支援暫停及繼續。

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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

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.

請參閱

參照

SPAllSitesJobDefinition members

Microsoft.SharePoint.Administration namespace