Partager via


SPFeatureDefinition.ActivationDependencies Property

Gets the collection of Features that on which activation of this Feature depends.

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

Syntax

Public ReadOnly Property ActivationDependencies As SPFeatureDependencyCollection
    Get

Dim instance As SPFeatureDefinition
Dim value As SPFeatureDependencyCollection

value = instance.ActivationDependencies
public SPFeatureDependencyCollection ActivationDependencies { get; }

Property Value

Type: Microsoft.SharePoint.SPFeatureDependencyCollection
An SPFeatureDependencyCollection object that represents the collection of Features on which this Feature depends.

Remarks

Activation dependencies can be used to accomplish two things. The implementer can turn on all associated features when any of the associated features is turned on, or it can guarantee resources by containing them within SPSite objects when the implementation is contained within an SPWeb object.

See Also

Reference

SPFeatureDefinition Class

SPFeatureDefinition Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Activation Dependencies and Scope