共用方式為


SPDatabaseAction Class

Provides an abstract class for all database upgrade actions.

Inheritance Hierarchy

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

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