This documentation is archived and is not being maintained.

SPFile.CheckOutStatus Property

Windows SharePoint Services 3

Gets the status of the check-out, indicating whether the check-out is long-term or short-term.

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

public SPFile.SPCheckOutStatus CheckOutStatus { get; }

Property Value

Type: Microsoft.SharePoint.SPFile.SPCheckOutStatus
An SPFile.SPCheckOutStatus value that indicates the status of the check-out.

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

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