SPPersistedUpgradableObject.Upgrade 方法 (Boolean)
升级该对象,并以递归方式如果一个布尔型参数等于true,升级当前对象的所有子代。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overridable Sub Upgrade ( _
recursively As Boolean _
)
用法
Dim instance As SPPersistedUpgradableObject
Dim recursively As Boolean
instance.Upgrade(recursively)
public virtual void Upgrade(
bool recursively
)
参数
recursively
类型:System.Booleantrue更新数据库以递归方式 ;否则为false。