Share via


SPFileLockException.LockType Property

Gets the type of 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 LockType As SPFile.SPLockType
    Get
'Usage
Dim instance As SPFileLockException
Dim value As SPFile.SPLockType

value = instance.LockType
public SPFile.SPLockType LockType { get; }

Property Value

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

See Also

Reference

SPFileLockException Class

SPFileLockException Members

Microsoft.SharePoint Namespace