SPJobLockType enumeration
Specifies the lock type for a given timer job definition.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Enumeration SPJobLockType
'Usage
Dim instance As SPJobLockType
public enum SPJobLockType
Members
Member name | Description | |
---|---|---|
None | Provides 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). | |
ContentDatabase | Locks the content database. A timer job runs one time for each content database associated with the Web application. | |
Job | Locks the timer job so that it runs only on one machine in the farm. |