Condividi tramite


Classe DeploymentPlanModifier

Represents a constributor that can modify a deployment plan.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

'Dichiarazione
Public MustInherit Class DeploymentPlanModifier _
    Inherits DeploymentPlanContributor
'Utilizzo
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

Nel tipo DeploymentPlanModifier sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto DeploymentPlanModifier Initializes a new instance of the DeploymentPlanModifier class.

In alto

Proprietà

  Nome Descrizione
Proprietà protetta Canceled Gets a value that indicates whether the contributor was canceled. Ereditato da DeploymentContributor.
Proprietà protetta CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled. Ereditato da DeploymentContributor.

In alto

Metodi

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

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Dac.Deployment