Share via


SPAction members

Abstract class that represents an upgrade action, which is a self-contained operation that describes an upgrade transformation.

The SPAction type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Description Gets a string that contains a description for the action.
Protected property FromBuildVersion Gets the version number of the build that is being upgraded.
Protected property HonorTargetSchemaVersion Obsolete. Property to indicate if schema version should be honored for actions with FromBuild/ToBuild.
Public property Log Gets an SPLog object. The SPAction class should use this SPLog object to log any errors, warnings or debug information during the upgrade process.
Protected property Manager Gets the Microsoft SharePoint Foundation upgrade manager object.
Public property ShouldRun Gets a Boolean value that indicates whether the upgrade action should run.
Protected property SPSequence Gets the sequence object that represents the upgrade sequence.
Protected property TargetSchemaVersion Gets the schema version to which the Microsoft SharePoint Foundation installation is being upgraded.
Protected property ToBuildVersion Gets the version number of the build to which the Microsoft SharePoint Foundation installation is being upgraded.
Protected property Type Gets the type of object that is being upgraded through the action.
Protected property UpgradableObject Gets an object representing the object that is being upgraded by this SPAction class, as well as other SPAction objects contained in the SPSequence object.

Top

Methods

  Name Description
Public method Commit Commits the upgrade action.
Public method Dispose Releases all unmanaged resources used by the upgrade action.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the upgrade action based on the specified object and sequence.
Protected method MemberwiseClone (Inherited from Object.)
Public method Rollback Rolls back the upgrade action.
Public method ToString (Inherited from Object.)
Public method Upgrade Executes the upgrade logic for the action.

Top

See also

Reference

SPAction class

Microsoft.SharePoint.Upgrade namespace