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.SPFeatureReceiverPropertiesA [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.StringThe name of the custom upgrade action to execute.
parameters
Type: System.Collections.Generic.IDictionary<String, String>The parameter names and values for the custom action.
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