SPManager.UpgradeContext Property

Gets the context of the upgrade.

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

Syntax

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

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

Property Value

Type: Microsoft.SharePoint.Upgrade.SPUpgradeContext
An SPUpgradeContext object that represents the context of the upgrade.

Remarks

During a gradual upgrade, you can use the UpgradeContext["RootSiteCollectionCopied"] property to determine whether the root site collection is being copied from the Windows SharePoint Services 2.0 database to the gradual upgrade working database, and whether it will be copied into the Windows SharePoint Services 3.0 database after the upgrade is complete.

See Also

Reference

SPManager Class

SPManager Members

Microsoft.SharePoint.Upgrade Namespace