Share via


SPFeatureDefinition.ActivationDependencies property

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

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

Syntax

'Declaration
Public ReadOnly Property ActivationDependencies As SPFeatureDependencyCollection
    Get
'Usage
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