Share via


SPFileLockException.LockedBy Property

Gets the name of the user who owns the lock.

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

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