Share via


SPPersistedUpgradableObject.UpgradeContext property

Gets the SPUpgradeContext for the current upgrade operation.

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

Syntax

'Declaration
Public Overridable ReadOnly Property UpgradeContext As SPUpgradeContext
    Get
'Usage
Dim instance As SPPersistedUpgradableObject
Dim value As SPUpgradeContext

value = instance.UpgradeContext
public virtual SPUpgradeContext UpgradeContext { get; }

Property value

Type: Microsoft.SharePoint.Upgrade.SPUpgradeContext
Additional upgrade context.

Implements

IUpgradable.UpgradeContext

See also

Reference

SPPersistedUpgradableObject class

SPPersistedUpgradableObject members

Microsoft.SharePoint.Administration namespace