Compartilhar via


SPList.ForceCheckout Property

Gets or sets a Boolean value that specifies whether forced checkout is enabled for the document library.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property ForceCheckout As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.ForceCheckout

instance.ForceCheckout = value
[ClientCallableAttribute]
public bool ForceCheckout { get; set; }

Property Value

Type: System.Boolean
true if forced checkout is enabled; otherwise, false.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace