Export (0) Print
Expand All

SPJobDefinition.LockType property

Gets the lock type for the job definition.

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

public SPJobLockType LockType { get; }

Use the LockType property to prevent the same job from simultaneously running on multiple machines and processing the same data.

Show:
© 2014 Microsoft