Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPList Class
SPList Properties
 EnableVersioning Property
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
SPList.EnableVersioning Property (Microsoft.SharePoint)
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)
Visual Basic (Declaration)
Public Property EnableVersioning As Boolean
Visual Basic (Usage)
Dim instance As SPList
Dim value As Boolean

value = instance.EnableVersioning

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

Property Value

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Remarks are incorrect      bryan.phillips   |   Edit   |   Show History

In WSS 3.0 and MOSS 2007, versioning is available for both document libraries and lists.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker