SPManager.UpgradeContext 属性

获取升级的上下文。

命名空间:  Microsoft.SharePoint.Upgrade
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property UpgradeContext As SPUpgradeContext
    Get
用法
Dim instance As SPManager
Dim value As SPUpgradeContext

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

属性值

类型:Microsoft.SharePoint.Upgrade.SPUpgradeContext
SPUpgradeContext 对象,该对象表示的上下文的升级。

备注

在逐步升级,可以使用UpgradeContext["RootSiteCollectionCopied"]属性来确定是否会被根网站集从Windows SharePoint Services 2.0数据库复制到逐步升级,使用数据库,以及是否它将被复制到Windows SharePoint Services 3.0数据库在升级后已完成。

另请参阅

引用

SPManager 类

SPManager 成员

Microsoft.SharePoint.Upgrade 命名空间