共用方式為


DeploymentPlanModifier 類別

Represents a constributor that can modify a deployment plan.

繼承階層

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentContributor
    Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributor
      Microsoft.SqlServer.Dac.Deployment.DeploymentPlanModifier

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public MustInherit Class DeploymentPlanModifier _
    Inherits DeploymentPlanContributor
'用途
Dim instance As DeploymentPlanModifier
public abstract class DeploymentPlanModifier : DeploymentPlanContributor
public ref class DeploymentPlanModifier abstract : public DeploymentPlanContributor
[<AbstractClassAttribute>]
type DeploymentPlanModifier =  
    class 
        inherit DeploymentPlanContributor 
    end
public abstract class DeploymentPlanModifier extends DeploymentPlanContributor

DeploymentPlanModifier 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 DeploymentPlanModifier Initializes a new instance of the DeploymentPlanModifier class.

上層

屬性

  名稱 說明
受保護的屬性 Canceled Gets a value that indicates whether the contributor was canceled. (繼承自 DeploymentContributor。)
受保護的屬性 CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled. (繼承自 DeploymentContributor。)

上層

方法

  名稱 說明
受保護的方法 AddAfter Provides a way to modify the existing plan by adding a step after the existing step.
受保護的方法 AddBefore Provides a way for subclasses to modify the plan by adding a step after the specified step.
公用方法 Cancel Cancels execution of the contributor. (繼承自 DeploymentContributor。)
公用方法 Dispose() Releases all resources used by the current instance of the DeploymentContributor class. (繼承自 DeploymentContributor。)
受保護的方法 Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources. (繼承自 DeploymentContributor。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 OnApplyDeploymentConfiguration Indicates a member called by the deployment process in DacFx to give your code an opportunity to collect configuration information from the provided files. At the end of the method all streams will be disposed. Contributors that need to obtain data from the streams must read and cache the data during this method - attempts to read from the stream during a later method such as the OnExecute(DeploymentPlanContributorContext) method will fail. (繼承自 DeploymentContributor。)
受保護的方法 OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration. (繼承自 DeploymentContributor。)
受保護的方法 OnExecute Indicates a member called by the deployment engine to allow custom contributors to execute their unique tasks. (繼承自 DeploymentPlanContributor。)
受保護的方法 PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers. (繼承自 DeploymentContributor。)
受保護的方法 Remove Provides a way to remove the specified step from the plan.
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dac.Deployment 命名空間