Feature Element (Upgrade)

Applies to: SharePoint Foundation 2010

Specifies a Feature to be marked as "provisioned" for Web sites or site collections created in Microsoft SharePoint Foundation 2010.

<Feature
  ID = "GUID"
  Force = "true" | "false"/>

Attributes

Attribute

Description

Force

Optional Boolean. true if the Feature is installed by force during upgrade, even if the Feature is already installed; otherwise, false.

ID

Required GUID. Specifies the identifier (ID) of the Feature.

Child Elements

None

Parent Elements

AppliedSiteFeatures, AppliedWebFeatures

Occurrences

Minimum: 0

Maximum: 1

Remarks

For an example of how this element is used, see Upgrade Definition Schema.