SPFile.CheckOutExpires property

NOTE: This API is now obsolete.

This property is obsolete. Use LockExpires instead.

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

[ObsoleteAttribute("SPFile.CheckOutExpires is obsolete. Use SPFile.LockExpires instead.")]
public DateTime CheckOutExpires { get; }

Property value

Type: System.DateTime
A DateTime object that specifies when the checkout expires.

The CheckOutExpires property throws an exception if the CheckOutType property contains SPCheckOutType.None.