This documentation is archived and is not being maintained.

SPList.EnableVersioning Property

Windows SharePoint Services 3

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

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

public bool EnableVersioning { get; set; }

Property Value

Type: System.Boolean
true if versioning is enabled; otherwise, false.

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