Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPList.MajorVersionLimit property

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)

public int MajorVersionLimit { get; set; }

Property value

Type: System.Int32
An integer value indicating the maximum number of versions.
© 2015 Microsoft