Partilhar via


SPPersistedUpgradableObject.Upgrade Method (Boolean)

Upgrades the object, and if a Boolean parameter equals true, recursively upgrades all descendants of the current object.

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

Syntax

'Declaration
Public Overridable Sub Upgrade ( _
    recursively As Boolean _
)
'Usage
Dim instance As SPPersistedUpgradableObject
Dim recursively As Boolean

instance.Upgrade(recursively)
public virtual void Upgrade(
    bool recursively
)

Parameters

  • recursively
    Type: System.Boolean

    true to update the database recursively; otherwise, false.

Implements

IUpgradable.Upgrade(Boolean)

See Also

Reference

SPPersistedUpgradableObject Class

SPPersistedUpgradableObject Members

Upgrade Overload

Microsoft.SharePoint.Administration Namespace