Compartir a través de


Clase 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.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dac.Deployment
Ensamblado:  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxis

'Declaración
Public MustInherit Class DeploymentContributor _
    Implements IDisposable
'Uso
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

El tipo DeploymentContributor expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido DeploymentContributor Initializes a new instance of the DeploymentContributor class.

Arriba

Propiedades

  Nombre Descripción
Propiedad protegida Canceled Gets a value that indicates whether the contributor was canceled.
Propiedad protegida CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled.

Arriba

Métodos

  Nombre Descripción
Método público Cancel Cancels execution of the contributor.
Método público Dispose() Releases all resources used by the current instance of the DeploymentContributor class.
Método protegido Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda 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.
Método protegido OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration.
Método protegido PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers.
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dac.Deployment