SPFile.SPLockType enumeration

Specifies the type of lock that is on a file. A lock is independent of the file checkout state.

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

Syntax

'Declaration
Public Enumeration SPLockType
'Usage
Dim instance As SPFile.SPLockType
public enum SPLockType

Members

Member name Description
Exclusive The file is locked for editing by a single user. No other user can save the file until the lock is released.
Shared The file is locked for editing by one or more users. Any of these users can save the file if the correct lock identifier is specified. Other users are prevented from saving the file until the lock is released.
None The file is not locked.

See also

Reference

Microsoft.SharePoint namespace