SPList.EnableMinorVersions property

Gets or sets a Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library.

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

Syntax

'Declaration
Public Property EnableMinorVersions As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.EnableMinorVersions

instance.EnableMinorVersions = value
public bool EnableMinorVersions { get; set; }

Property value

Type: System.Boolean
true if minor versions are enabled; otherwise, false.

Remarks

Although the EnableMinorVersions property is defined on the SPList class, versioning is only available for document library lists.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace