共用方式為


IDatabaseProjectFileUpgradeController 介面

這個控制器會在建立 Visual Studio 專案系統之前執行。 因此,這個物件可以在該專案開啟之前,直接升級原始專案 XML 檔案。

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Interface IDatabaseProjectFileUpgradeController _
    Inherits IExtension
[CLSCompliantAttribute(false)]
public interface IDatabaseProjectFileUpgradeController : IExtension
[CLSCompliantAttribute(false)]
public interface class IDatabaseProjectFileUpgradeController : IExtension
[<CLSCompliantAttribute(false)>]
type IDatabaseProjectFileUpgradeController =  
    interface
        interface IExtension
    end
public interface IDatabaseProjectFileUpgradeController extends IExtension

IDatabaseProjectFileUpgradeController 型別會公開下列成員。

方法

  名稱 說明
公用方法 IsUpgradeNecessary 如果必須顯示專案升級精靈,則傳回 true。
公用方法 UpgradeProject 執行專案檔升級。

回頁首

請參閱

參考

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空間