Share via


SPPersistedUpgradableObject.UpgradeContext Property

Gets the SPUpgradeContext for the current upgrade operation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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