Feature Element (Upgrade)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a Feature to be marked as "provisioned" for Web sites or site collections created through the new version of Windows SharePoint Services.

<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 ID of the Feature.

Child Elements

None

Parent Elements

AppliedSiteFeatures, AppliedWebFeatures

Occurrences

Minimum: 0

Maximum: 1

Example

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

Microsoft.Win32.RegistryKey#4