Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LockType property

SPFile.LockType property

Gets a value that describes the type of lock that is on a file.

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

public SPFile.SPLockType LockType { get; }

Property value

Type: Microsoft.SharePoint.SPFile.SPLockType
One of the enumeration values that describes the type of lock.
© 2015 Microsoft