Share via


SPFarmAction class

Abstract super class for all SPFarm upgrade actions.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Upgrade.SPAction
    Microsoft.SharePoint.Upgrade.SPFarmAction

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

Syntax

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

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

SPFarmAction members

Microsoft.SharePoint.Upgrade namespace