This topic has not yet been rated - Rate this topic

SPFile.SPLockType Enumeration

SharePoint 2010

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 name Description
Exclusive The file is locked for editing by a single user. No other user can modify the file until the lock is released.
Shared The 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.
None The file is not locked.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ