Compartilhar via


Classe DeploymentPlanModifier

Represents a constributor that can modify a deployment plan.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxe

'Declaração
Public MustInherit Class DeploymentPlanModifier _
    Inherits DeploymentPlanContributor
'Uso
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

O tipo DeploymentPlanModifier expõe os membros a seguir.

Construtores

  Nome Descrição
Método protegido DeploymentPlanModifier Initializes a new instance of the DeploymentPlanModifier class.

Início

Propriedades

  Nome Descrição
Propriedade protegida Canceled Gets a value that indicates whether the contributor was canceled. (Herdado de DeploymentContributor.)
Propriedade protegida CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled. (Herdado de DeploymentContributor.)

Início

Métodos

  Nome Descrição
Método protegido AddAfter Provides a way to modify the existing plan by adding a step after the existing step.
Método protegido AddBefore Provides a way for subclasses to modify the plan by adding a step after the specified step.
Método público Cancel Cancels execution of the contributor. (Herdado de DeploymentContributor.)
Método público Dispose() Releases all resources used by the current instance of the DeploymentContributor class. (Herdado de DeploymentContributor.)
Método protegido Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources. (Herdado de DeploymentContributor.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método protegido 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. (Herdado de DeploymentContributor.)
Método protegido OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration. (Herdado de DeploymentContributor.)
Método protegido OnExecute Indicates a member called by the deployment engine to allow custom contributors to execute their unique tasks. (Herdado de DeploymentPlanContributor.)
Método protegido PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers. (Herdado de DeploymentContributor.)
Método protegido Remove Provides a way to remove the specified step from the plan.
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dac.Deployment