Partager via


Classe DeploymentContributor

Represents the base class for deployment contributors. Subclasses of this class participate in a deployment by modifying a deployment plan or by executing the plan.

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
Public MustInherit Class DeploymentContributor _
    Implements IDisposable
'Utilisation
Dim instance As DeploymentContributor
public abstract class DeploymentContributor : IDisposable
public ref class DeploymentContributor abstract : IDisposable
[<AbstractClassAttribute>]
type DeploymentContributor =  
    class 
        interface IDisposable 
    end
public abstract class DeploymentContributor implements IDisposable

Le type DeploymentContributor expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée DeploymentContributor Initializes a new instance of the DeploymentContributor 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.
Propriété protégée CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled.

Haut de la page

Méthodes

  Nom Description
Méthode publique Cancel Cancels execution of the contributor.
Méthode publique Dispose() Releases all resources used by the current instance of the DeploymentContributor class.
Méthode protégée Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources.
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.
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.
Méthode protégée PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers.
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