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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("SPFile.CheckOutExpires is obsolete. Use SPFile.LockExpires instead.")> _
Public ReadOnly Property CheckOutExpires As DateTime
    Get
'Usage
Dim instance As SPFile
Dim value As DateTime

value = instance.CheckOutExpires
[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.

Remarks

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

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace