Partager via


Classe DeploymentPlanContributor

Represents a contributor to the deployment process.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentContributor
    Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributor
      Microsoft.SqlServer.Dac.Deployment.DeploymentPlanExecutor
      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 DeploymentPlanContributor _
    Inherits DeploymentContributor
'Utilisation
Dim instance As DeploymentPlanContributor
public abstract class DeploymentPlanContributor : DeploymentContributor
public ref class DeploymentPlanContributor abstract : public DeploymentContributor
[<AbstractClassAttribute>]
type DeploymentPlanContributor =  
    class 
        inherit DeploymentContributor 
    end
public abstract class DeploymentPlanContributor extends DeploymentContributor

Le type DeploymentPlanContributor expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée DeploymentPlanContributor Initializes a new instance of the DeploymentPlanContributor 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 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.
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 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