Partager via


Classe DeploymentPlanModifier

Represents a constributor that can modify a deployment plan.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public MustInherit Class DeploymentPlanModifier _
    Inherits DeploymentPlanContributor
'Utilisation
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

Le type DeploymentPlanModifier expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée DeploymentPlanModifier Initializes a new instance of the DeploymentPlanModifier class.

Haut de la page

Propriétés

  Nom Description
Propriété protégée Canceled Gets a value that indicates whether the contributor was canceled. (hérité de DeploymentContributor.)
Propriété protégée CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled. (hérité de DeploymentContributor.)

Haut de la page

Méthodes

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

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac.Deployment