SPWikiPageHomePageFeatureReceiver.FeatureUpgrading method

Upgrades the Wiki Page Home Page feature.

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

Syntax

'Declaration
Public Overrides Sub FeatureUpgrading ( _
    properties As SPFeatureReceiverProperties, _
    upgradeActionName As String, _
    parameters As IDictionary(Of String, String) _
)
'Usage
Dim instance As SPWikiPageHomePageFeatureReceiver
Dim properties As SPFeatureReceiverProperties
Dim upgradeActionName As String
Dim parameters As IDictionary(Of String, String)

instance.FeatureUpgrading(properties, _
    upgradeActionName, parameters)
public override void FeatureUpgrading(
    SPFeatureReceiverProperties properties,
    string upgradeActionName,
    IDictionary<string, string> parameters
)

Parameters

  • properties
    Type: Microsoft.SharePoint.SPFeatureReceiverProperties

    A [Microsoft.SharePoint.SPFeatureReceiverProperties] class that provides access to event properties, such as the Feature instance that has been created, the Feature definition, or the parent object of the Feature.

  • upgradeActionName
    Type: System.String

    The name of the custom upgrade action to execute.

Remarks

Ensure that the web part page content type is added to site pages when the Wiki Page Home Page feature is upgraded.

See also

Reference

SPWikiPageHomePageFeatureReceiver class

SPWikiPageHomePageFeatureReceiver members

Microsoft.SharePoint namespace