SPAllSitesJobDefinition class

This job iterates through all the sites in a Web application. It supports pause and resume if the timer is restarted or stopped while the job is running.

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

'Declaration
<GuidAttribute("F8C81FDE-FDD6-4D21-A933-BB78CE8CEEB6")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAllSitesJobDefinition _
    Inherits SPContentDatabaseJobDefinition
'Usage
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.

See also

Reference

SPAllSitesJobDefinition members

Microsoft.SharePoint.Administration namespace