SPList Properties


SPList.MajorWithMinorVersionsLimit Property (Microsoft.SharePoint)
Gets or sets the maximum number of major versions that are allowed for an item in a document library that uses version control with both major and minor versions.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property MajorWithMinorVersionsLimit As Integer
Visual Basic (Usage)
Dim instance As SPList
Dim value As Integer

value = instance.MajorWithMinorVersionsLimit

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

Property Value

An integer value indicating the maximum number of versions.
See Also

Tags :


Page view tracker