共用方式為


SPSequence Members

Include Protected Members
Include Inherited 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
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
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
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
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