Share via


SPDatabaseAction class

Provides an abstract class for all database upgrade actions.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Upgrade.SPAction
    Microsoft.SharePoint.Upgrade.SPDatabaseAction
      Microsoft.SharePoint.Upgrade.SPContentDatabaseExtensionUpgradeAction

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPDatabaseAction _
    Inherits SPAction
'Usage
Dim instance As SPDatabaseAction
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPDatabaseAction : SPAction

Remarks

Each action object is associated with a TargetSchemaVersionAttribute object.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPDatabaseAction members

Microsoft.SharePoint.Upgrade namespace