Share via


List.EnableMinorVersions property

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

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

Syntax

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

value = instance.EnableMinorVersions

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

Property value

Type: System.Boolean
Returns Booleantrue if minor versions are enabled for the list otherwise returns false. The default value is

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Value is set to true and the list does not support minor versions. Error code: -2146232832.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace