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.