SPList Properties


SPList.EnableMinorVersions Property (Microsoft.SharePoint)
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

Visual Basic (Declaration)
Public Property EnableMinorVersions As Boolean
Visual Basic (Usage)
Dim instance As SPList
Dim value As Boolean

value = instance.EnableMinorVersions

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

Property Value

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

Tags :


Page view tracker