Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the lock type for the job definition.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property LockType As SPJobLockType
Get
'Usage
Dim instance As SPJobDefinition
Dim value As SPJobLockType
value = instance.LockType
public SPJobLockType LockType { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPJobLockType
An SPJobLockType value.
Remarks
Use the LockType property to prevent the same job from simultaneously running on multiple machines and processing the same data.