Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
'Declaration
Public Property MajorVersionLimit As Integer
Get
Set
'Usage
Dim instance As SPList
Dim value As Integer
value = instance.MajorVersionLimit
instance.MajorVersionLimit = value
public int MajorVersionLimit { get; set; }
Type: System.Int32
An integer value indicating the maximum number of versions.
Please sign in to use this experience.
Sign in