Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.EnableMinorVersions

instance.EnableMinorVersions = value
[ClientCallableAttribute]
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