Partilhar via


SPFeatureReceiver.FeatureActivated Method

Handles the event that is raised after a Feature is activated.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overridable Sub FeatureActivated ( _
    properties As SPFeatureReceiverProperties _
)
'Usage
Dim instance As SPFeatureReceiver
Dim properties As SPFeatureReceiverProperties

instance.FeatureActivated(properties)
public virtual void FeatureActivated(
    SPFeatureReceiverProperties properties
)

Parameters

Remarks

This method is called when a Feature is activated.

See Also

Reference

SPFeatureReceiver Class

SPFeatureReceiver Members

Microsoft.SharePoint Namespace