Freigeben über


DeploymentPlanExecutor-Klasse

Represents a deployment constributor that executes the deployment plan. An example of a constributor would be one who executes deployment steps to create a report about actions performed during a deployment.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public MustInherit Class DeploymentPlanExecutor _
    Inherits DeploymentPlanContributor
'Usage
Dim instance As DeploymentPlanExecutor
public abstract class DeploymentPlanExecutor : DeploymentPlanContributor
public ref class DeploymentPlanExecutor abstract : public DeploymentPlanContributor
[<AbstractClassAttribute>]
type DeploymentPlanExecutor =  
    class 
        inherit DeploymentPlanContributor 
    end
public abstract class DeploymentPlanExecutor extends DeploymentPlanContributor

Der DeploymentPlanExecutor-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode DeploymentPlanExecutor Initializes a new instance of the DeploymentPlanExecutorclass.

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft Canceled Gets a value that indicates whether the contributor was canceled. (Geerbt von DeploymentContributor.)
Geschützte Eigenschaft CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled. (Geerbt von DeploymentContributor.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Cancel Cancels execution of the contributor. (Geerbt von DeploymentContributor.)
Öffentliche Methode Dispose() Releases all resources used by the current instance of the DeploymentContributor class. (Geerbt von DeploymentContributor.)
Geschützte Methode Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources. (Geerbt von DeploymentContributor.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode 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. (Geerbt von DeploymentContributor.)
Geschützte Methode OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration. (Geerbt von DeploymentContributor.)
Geschützte Methode OnExecute Indicates a member called by the deployment engine to allow custom contributors to execute their unique tasks. (Geerbt von DeploymentPlanContributor.)
Geschützte Methode PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers. (Geerbt von DeploymentContributor.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dac.Deployment-Namespace