SPFile.SPLockType Enumeration

Describes the type of lock that is on a file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
public enum SPLockType

Member nameDescription
ExclusiveThe file is locked for editing by a single user. No other user can modify the file until the lock is released.
SharedThe file is locked for editing by a group who are using a collaborative application. Other users are prevented from modifying the file until the lock is released.
NoneThe file is not locked.
Show: