Share via


SPSequence members

Provides an abstract superclass for all upgrade sequences in Microsoft SharePoint Foundation.

The SPSequence type exposes the following members.

Constructors

  Name Description
Protected method SPSequence Initializes a new instance of the SPSequence class.

Top

Properties

  Name Description
Public property Applicable Obsolete. Reserved for internal use. This property is deprecated.
Public property CanUpgrade Gets a Boolean value that indicates whether or not the object can be upgraded.
Public property ContinueOnFailure Allows the sequence to ignore exception thrown from the current object that is being upgraded, and move on to the next in the sequence.
Protected property HierarchyManager Gets the SPHierarchyManager object used by the SPSequence object.
Protected property Id Gets the ID of the sequence.
Public property IsApplicable Gets a Boolean value that indicates whether the sequence is applicable to the current object. (Overrides SPDelegate.IsApplicable.)
Public property IsBackwardsCompatible Determines whether or not this object is within the backwards compatible range.
Public property Log Gets an SPLog object that represents the log of the upgrade session. The upgrade session object can be retrieved by the Session property. (Inherited from SPDelegate.)
Protected property Manager Gets the Microsoft SharePoint Foundation Upgrade Manager. (Inherited from SPDelegate.)
Public property NeedsUpgrade Gets or sets a Boolean value that specifies whether the sequence object needs an upgrade.
Protected property Object Gets the delegating object. (Inherited from SPDelegate.)
Public property PlaceHolderSequence This sequence does not have any upgrade logic (yet)
Protected property Session Gets the upgrade session of the delegate. (Inherited from SPDelegate.)
Protected property Stopped Gets or sets a Boolean value that specifies whether the upgrade is stopped. (Inherited from StopEventReceiver.)
Protected property Type Gets the type of the delegate. (Inherited from SPDelegate.)
Protected property UpgradableObject Gets the object of UpgradableObject type which is being upgraded by this sequence.

Top

Methods

  Name Description
Public method AddNextLevelObjects Adds any objects that should be upgraded after the current upgradable object has finished being upgraded. The current upgradable object can be retrieved by the UpgradableObject method.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FinalizeUpgrade Performs an explicitly called operation to finalize upgrade. 
Public method GetHashCode (Inherited from Object.)
Public method GetProperty Returns one of the per-sequence properties from the upgrade config files
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the upgrade sequence for the specified object. (Overrides SPDelegate.Initialize(Object).)
Protected method MemberwiseClone (Inherited from Object.)
Public method PostUpgrade Executes after the Upgrade method is implemented.
Public method PreUpgrade Executes before the Upgrade method is implemented.
Public method SetPostUpgradeDependencies By default this object has no post-upgrade dependencies.
Public method SetPreUpgradeDependencies By default this object has no pre-upgrade dependencies.
Public method ToString (Inherited from Object.)
Public method Upgrade Executes the upgrade code for the sequence.

Top

See also

Reference

SPSequence class

Microsoft.SharePoint.Upgrade namespace