共用方式為


SPAction class

代表的升級動作,說明升級轉換為獨立作業的抽象類別。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Upgrade.SPAction
    Microsoft.SharePoint.Upgrade.SPDatabaseAction
    Microsoft.SharePoint.Upgrade.SPFarmAction
    Microsoft.SharePoint.Upgrade.SPPrejoinedFarmAction
    Microsoft.SharePoint.Upgrade.SPWebAction

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPAction
'用途
Dim instance As SPAction
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPAction

備註

巨集指令中的每個物件相關聯的TargetSchemaVersionAttribute物件。

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.

請參閱

參照

SPAction members

Microsoft.SharePoint.Upgrade namespace