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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<GuidAttribute("F8C81FDE-FDD6-4D21-A933-BB78CE8CEEB6")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPAllSitesJobDefinition _
Inherits SPContentDatabaseJobDefinition
'Usage
Dim instance As SPAllSitesJobDefinition
[GuidAttribute("F8C81FDE-FDD6-4D21-A933-BB78CE8CEEB6")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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.