SP.List.forceCheckout Property

Applies to: SharePoint Foundation 2010

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

var value = SP.List.get_forceCheckout(); 
SP.List.set_forceCheckout(value);

Property Value

Type: Boolean

true to enable forced checkout; otherwise, false.

Exceptions

SPException

value is set to true, but the list does not support forced checkout for the document library. Error code: -2146232832.

Applies To

SP.List Class

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace