SPUpgradeSession.MajorVersionUpgrade Property

Gets a Boolean value that indicates whether the upgrade operation is a major version upgrade.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property MajorVersionUpgrade As Boolean
    Get
'Usage
Dim instance As SPUpgradeSession
Dim value As Boolean

value = instance.MajorVersionUpgrade
public bool MajorVersionUpgrade { get; }

Property Value

Type: System.Boolean
true if the major version of the Microsoft SharePoint Foundation product changes before and after the upgrade operation; otherwise, false.

Remarks

A version number consists of a major and a minor version. For example, the version number 3.2 specifies 3 as the major version and 2 as the minor version.

See Also

Reference

SPUpgradeSession Class

SPUpgradeSession Members

Microsoft.SharePoint.Upgrade Namespace