共用方式為


DeploymentScriptGenerator 類別

表示部署指令碼產生器的基底實作。 根據預設,部署期間會使用此實作,透過部署計劃產生部署指令碼。

繼承階層架構

System.Object
  Microsoft.Data.Schema.Build.DeploymentContributor
    Microsoft.Data.Schema.Build.DeploymentPlanContributor
      Microsoft.Data.Schema.Build.DeploymentPlanExecutor
        Microsoft.Data.Schema.Build.DeploymentScriptGenerator

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

語法

'宣告
Public Class DeploymentScriptGenerator _
    Inherits DeploymentPlanExecutor
public class DeploymentScriptGenerator : DeploymentPlanExecutor
public ref class DeploymentScriptGenerator : public DeploymentPlanExecutor
type DeploymentScriptGenerator =  
    class
        inherit DeploymentPlanExecutor
    end
public class DeploymentScriptGenerator extends DeploymentPlanExecutor

DeploymentScriptGenerator 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 DeploymentScriptGenerator 初始化 DeploymentScriptGenerator 類別的新執行個體。

回頁首

屬性

  名稱 說明
受保護的屬性 Canceled 取得值,這個值表示是否取消參與者。 (繼承自 DeploymentContributor)。
公用屬性 ExtensionHandle 取得這個擴充功能的控制代碼。 (繼承自 DeploymentPlanExecutor)。
受保護的屬性 ScriptOutput 取得可以撰寫指令碼的文字寫入器物件。

回頁首

方法

  名稱 說明
公用方法 Cancel 取消參與者的執行。 (繼承自 DeploymentContributor)。
公用方法 Dispose() 釋放資源。 (繼承自 DeploymentContributor)。
受保護的方法 Dispose(Boolean) 釋放資源。 (覆寫 DeploymentContributor.Dispose(Boolean)。)
公用方法 Equals 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 OnApplyDeploymentConfiguration 由 Visual Studio 中的部署程序所呼叫,讓您的程式碼可以從提供的檔案收集組態資訊。 (繼承自 DeploymentContributor)。
受保護的方法 OnEstablishDeploymentConfiguration 由 Visual Studio 中的部署程序所呼叫,讓您的程式碼可以修改部署組態。 (繼承自 DeploymentContributor)。
受保護的方法 OnExecute (覆寫 DeploymentPlanContributor.OnExecute(DeploymentPlanContributorContext)。)
受保護的方法 OnPopulateArguments 由 Visual Studio Application Lifecycle Management (ALM) 部署引擎呼叫,允許自訂參與者填入命令列引數。 (繼承自 DeploymentPlanContributor)。
受保護的方法 PublishMessage 將訊息發行到部署引擎。部署引擎會處理訊息並將訊息回報給消費者。 (繼承自 DeploymentContributor)。
公用方法 SetExtensionHandle 設定這個擴充功能之控制代碼的值。 (繼承自 DeploymentPlanExecutor)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.Data.Schema.Build 命名空間

DeploymentPlanExecutor