Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPList Class
SPList Properties
 MajorVersionLimit 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.MajorVersionLimit Property (Microsoft.SharePoint)
Gets or sets the maximum number of major versions allowed for an item in a document library that uses version control with major versions only.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property MajorVersionLimit As Integer
Visual Basic (Usage)
Dim instance As SPList
Dim value As Integer

value = instance.MajorVersionLimit

instance.MajorVersionLimit = value
C#
public int MajorVersionLimit { get; set; }

Property Value

An integer value indicating the maximum number of versions.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Why are all the properties not available for update through webservice!!!      AshishDotNet   |   Edit   |   Show History
I am not able to update MajorVersionLimit property of list using web service. I used following xml node to set this property:
<List MajorVersionLimit="6" />
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker