Export (0) Print
Expand All

SPRunningJobCollection class

Represents a collection of SPRunningJob objects.

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

[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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft