Share via


SPActionSequence.PreUpgrade method

Executed by the SharePoint upgrade infrastructure before the IUpgrader.Upgrade method is implemented.

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

Syntax

'Declaration
Public Overrides Sub PreUpgrade
'Usage
Dim instance As SPActionSequence

instance.PreUpgrade()
public override void PreUpgrade()

Implements

IUpgrader.PreUpgrade()

Remarks

This method is called when an object is being upgraded, The SharePoint upgrade infrastructure will call the PreUpgrade() method on SPSequence classes whose TargetUpgradableObjectAttribute matches the type of the object being upgraded. The order in which the PreUpgrade() methods are called for each sequence class is arbitrary.

See also

Reference

SPActionSequence class

SPActionSequence members

Microsoft.SharePoint.Upgrade namespace