SPRunningJobCollection class

Represents a collection of SPRunningJob objects.

Inheritance hierarchy


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


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPRunningJobCollection _
    Inherits SPBaseCollection
Dim instance As SPRunningJobCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPRunningJobCollection : SPBaseCollection


This object provides a convenient way to manage all the running jobs in the SharePoint Foundation farm. A SPWebApplication object is the parent object of a running job, or the SPService object is the parent if there is no Web application. Running jobs may be scheduled to run at a particular time with the SPTimerService, or they may be started on request. There may be multiple instances on several servers, or the job could be limited to one running instance on the farm at a time.

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


SPRunningJobCollection members

Microsoft.SharePoint.Administration namespace