Partilhar via


SP.List.enableMinorVersions Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether minor versions are enabled for the list.

var value = SP.List.get_enableMinorVersions(); 
SP.List.set_enableMinorVersions(value);

Property Value

Type: Boolean

Applies To

SP.List Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    Value is set to true and the list does not support minor versions. Error code: -2146232832.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace