LockId Property

SPFile.LockId Property

Gets the identifier (ID) of the current lock on the file.

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

public string LockId { get; }

Property Value

Type: System.String
A string that identifies the lock on the file. If the file is not locked, the value is a null reference (Nothing in Visual Basic).
Show:
© 2016 Microsoft