UpgradeActions Element (Feature)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies the upgrade actions for the Feature.
Definition
<UpgradeActions
ReceiverAssembly = string
ReceiverClass = string>
<AddContentTypeField />
<ApplyElementManifests>
...
<CustomUpgradeActions>
...
</CustomUpgradeActions>
<MapFile />
<VersionRange>
...
</VersionRange>
</UpgradeActions>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
ReceiverAssembly | Optional string. Specifies the strong name of the assembly. This attribute may not be used when the Feature that is being upgraded is inside an SharePoint Add-in. |
ReceiverClass | Optional string. Specifies the receiver class. This attribute may not be used when the Feature that is being upgraded is inside an SharePoint Add-in. |
Child elements
Element |
---|
AddContentTypeField Element (Feature) |
ApplyElementManifests Element (Feature) |
CustomUpgradeAction Element (Feature) |
MapFile Element (Feature) |
VersionRange Element (Feature) |
Parent elements
Element |
---|
Feature Element (Feature) |
Occurrences
Minimum: 0 Maximum: 1 |