Export (0) Print
Expand All

SPFile.LockExpires property

Gets the expiration date and time of a file lock.

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

public DateTime LockExpires { get; }

Property value

Type: System.DateTime
The date and time when the lock will expire.

Throws an SPFileLockException if no lock exists on the file.

Show:
© 2015 Microsoft