共用方式為


IMapFileUpgradeAction 介面

代表將非自訂檔案重新對應至 SharePoint Web 前端 (WFE) 伺服器檔案系統上不同安裝路徑的升級動作。

命名空間:  Microsoft.VisualStudio.SharePoint.Features
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

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

IMapFileUpgradeAction 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 ActionType 取得升級動作的類型。 (繼承自 IDiscreteUpgradeAction)。
公用屬性 Description 取得或設定升級動作所進行操作的描述。 (繼承自 IUpgradeAction)。
公用屬性 FromPath 取得或設定 SharePoint AllDocs 資料表中檔案的安裝路徑。
公用屬性 ToPath 取得或設定 SharePoint AllDocs 資料表中安裝路徑的新值。

回頁首

事件

  名稱 說明
公用事件 PropertyChanged 發生於已變更 DSL 模型項目時。 (繼承自 IObservableModelElement)。
公用事件 PropertyChanging 發生於正在變更 DSL 模型項目時。 (繼承自 IObservableModelElement)。

回頁首

備註

如需升級功能的詳細資訊,請參閱升級功能 (英文)。

請參閱

參考

Microsoft.VisualStudio.SharePoint.Features 命名空間