Export (0) Print
Expand All
Expand Minimize

SPFile.LockExpires Property

Gets the expiration date and time of a file lock.

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

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.

Community Additions

ADD
Show:
© 2014 Microsoft