Класс 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Deployment