This topic has not yet been rated - Rate this topic

SPJobState Class

SharePoint 2010

Provides access to properties that will be saved when a job is paused.

System.Object
  Microsoft.SharePoint.Administration.SPJobState

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPJobState
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
SPJobState Sample Code
Great article on Pausable Timer Job.

http://www.areaprog.com/SP2010/cours-540-timer-job-partie-2-sppausablejobdefinition

It's in French. Open in Google Chrome and translate to English.

Thanks to Xavier Vanneste
SPJobState Sample Code
A Great article on Pauseable Timer Job. http://www.areaprog.com/SP2010/cours-540-timer-job-partie-2-sppausablejobdefinition

It's in French. Open in Google Chrome and translate to English.

Thanks to Xavier Vanneste