다음을 통해 공유


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)

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