共用方式為


IMapFileUpgradeAction Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents an upgrade action that remaps an non-customized file to a different setup path on the SharePoint Web front-end (WFE) server file system.

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

Syntax

'Declaration
Public Interface IMapFileUpgradeAction _
    Inherits IDiscreteUpgradeAction, IUpgradeAction, IObservableModelElement
public interface IMapFileUpgradeAction : IDiscreteUpgradeAction, 
    IUpgradeAction, IObservableModelElement

The IMapFileUpgradeAction type exposes the following members.

Properties

  Name Description
Public property ActionType Gets the type of upgrade action. (Inherited from IDiscreteUpgradeAction.)
Public property Description Gets or sets a description of what the upgrade action does. (Inherited from IUpgradeAction.)
Public property FromPath Gets or sets the setup path of the file in the SharePoint AllDocs table.
Public property ToPath Gets or sets the new value for setup path in the SharePoint AllDocs table.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a DSL model element has changed. (Inherited from IObservableModelElement.)
Public event PropertyChanging Occurs when a DSL model element is being changed. (Inherited from IObservableModelElement.)

Top

Remarks

For more information about upgrading features, see Upgrading Features.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Features Namespace