Compartilhar via


EnableVersioning Property

The EnableVersioning property of the SPList class gets or sets a Boolean value that specifies whether versioning is enabled for the document library.

Property Value

true if versioning is enabled; otherwise, false.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security