Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Provides an abstract class for all database upgrade actions.
The SPDatabaseAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPDatabaseAction | Initializes a new instance of the SPDatabaseAction class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Description | Gets a string that contains a description for the action. (Inherited from SPAction.) |
![]() |
FromBuildVersion | Gets the version number of the build that is being upgraded. (Inherited from SPAction.) |
![]() |
HonorTargetSchemaVersion | Obsolete. (Inherited from SPAction.) |
![]() |
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. (Inherited from SPAction.) |
![]() |
Manager | Gets the Microsoft SharePoint Foundation upgrade manager object. (Inherited from SPAction.) |
![]() |
ShouldRun | Gets a Boolean value that indicates whether the upgrade action should run. (Inherited from SPAction.) |
![]() |
SPDatabaseSequence | Gets the typed upgrade sequence. |
![]() |
SPSequence | Gets the sequence object that represents the upgrade sequence. (Inherited from SPAction.) |
![]() |
SqlSession | Gets an ISqlSession object which represents the SQL database that is being upgraded by calling the SPDatabaseAction object. |
![]() |
TargetSchemaVersion | Gets the schema version to which the Microsoft SharePoint Foundation installation is being upgraded. (Inherited from SPAction.) |
![]() |
ToBuildVersion | Gets the version number of the build to which the Microsoft SharePoint Foundation installation is being upgraded. (Inherited from SPAction.) |
![]() |
Type | Gets the type of object that is being upgraded through the action. (Inherited from SPAction.) |
![]() |
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. (Inherited from SPAction.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Commit | Commits the database session. (Overrides SPAction.Commit().) |
![]() |
Dispose | Disposes the database session and releases resources. (Overrides SPAction.Dispose().) |
![]() |
Equals | (Inherited from Object.) |
![]() |
ExecuteSql(String) | Executes a series of Transact-SQL queries based on the specified string. |
![]() |
ExecuteSql(String, Int32) | Executes a series of Transact-SQL queries based on the specified string within a specified time-out period. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Initialize | Initializes the upgrade action based on the specified object and sequence. (Inherited from SPAction.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Rollback | Rolls back the database session. (Overrides SPAction.Rollback().) |
![]() |
ToString | (Inherited from Object.) |
![]() |
Upgrade | Executes the upgrade logic for the action. (Inherited from SPAction.) |
Top