Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPJobLockType enumeration
Collapse the table of content
Expand the table of content

SPJobLockType enumeration

Specifies the lock type for a given timer job definition.

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

public enum SPJobLockType

Member nameDescription
NoneProvides no locks. The timer job runs on every machine in the farm on which the parent service is provisioned, unless the job I associated with a specified server in which case it runs on only that server (and only if the parent service is provisioned on the server).
ContentDatabaseLocks the content database. A timer job runs one time for each content database associated with the Web application.
JobLocks the timer job so that it runs only on one machine in the farm.
Show:
© 2015 Microsoft