Partilhar via


ActivationDependency Element (Feature)

Applies to: SharePoint Foundation 2010

Represents a Feature on which activation of the current Feature depends.

<ActivationDependency 
  FeatureDescription = string 
  FeatureId = Guid 
  FeatureTitle = string 
  MinimumVersion = string 
  SolutionId = Guid 
  SolutionName = string 
  SolutionTitle = string 
  SolutionUrl = string>
</ActivationDependency>

Attributes

Attribute

Description

FeatureDescription

Optional string. The description of the Feature dependency.

FeatureId

Required Guid. The ID of the Feature dependency.

FeatureTitle

Optional string. The title of the Feature dependency.

MinimumVersion

Optional string. The minimum version of the Feature dependency. This attribute must use the pattern n.n.n.n, where each occurrence of n is a numeric value.

SolutionId

Optional Guid. The ID of the solution dependency.

SolutionName

Optional string. The name of the solution dependency.

SolutionTitle

Optional string. The title of the solution dependency.

SolutionUrl

Optional string. The URL of the solution dependency.

Child Elements

None

Parent Elements

ActivationDependencies

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

Microsoft SharePoint Foundation does not support a cross-scope activation dependency if the current Feature depends upon another Feature at a more restrictive scope, or if the current Feature depends on a hidden Feature.

Example

For an example of how this element is used, see Feature.xml Files.