SPFile.CheckOutStatus property

NOTE: This API is now obsolete.

This property is obsolete. Use CheckOutType instead.

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

<ObsoleteAttribute("SPFile.CheckOutStatus is obsolete. Use SPFile.CheckOutType instead.")> _
Public ReadOnly Property CheckOutStatus As SPFile.SPCheckOutStatus
Dim instance As SPFile
Dim value As SPFile.SPCheckOutStatus

value = instance.CheckOutStatus

Property value

Type: Microsoft.SharePoint.SPFile.SPCheckOutStatus
A value that indicates the status of the checkout.

Use the CheckOutStatus property to determine whether a file is locked and checked out.

A short-term checkout, known as file-locking, only has effect as long as the application renews the lock.