SPFile.LockId property

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

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

'Declaration
Public ReadOnly Property LockId As String
	Get
'Usage
Dim instance As SPFile
Dim value As String

value = instance.LockId

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: