Freigeben über


DeploymentContributor-Klasse

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.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public MustInherit Class DeploymentContributor _
    Implements IDisposable
'Usage
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

Der DeploymentContributor-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode DeploymentContributor Initializes a new instance of the DeploymentContributor class.

Zum Anfang

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Cancel Cancels execution of the contributor.
Öffentliche Methode Dispose() Releases all resources used by the current instance of the DeploymentContributor class.
Geschützte Methode Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources.
Ö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.
Geschützte Methode OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration.
Geschützte Methode PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers.
Ö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