SPFileLockException.LockedBy property

Gets the name of the user who owns the lock.

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

Syntax

'Declaration
Public ReadOnly Property LockedBy As String
    Get
'Usage
Dim instance As SPFileLockException
Dim value As String

value = instance.LockedBy
public string LockedBy { get; }

Property value

Type: System.String
The name of the user.

See also

Reference

SPFileLockException class

SPFileLockException members

Microsoft.SharePoint namespace