Класс 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.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dac.Deployment
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
Public MustInherit Class DeploymentContributor _
    Implements IDisposable
'Применение
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

Тип DeploymentContributor обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод DeploymentContributor Initializes a new instance of the DeploymentContributor class.

В начало

Свойства

  Имя Описание
Защищенное свойство Canceled Gets a value that indicates whether the contributor was canceled.
Защищенное свойство CancellationToken Gets the CancellationToken used to indicate whether contributor execution should be canceled.

В начало

Методы

  Имя Описание
Открытый метод Cancel Cancels execution of the contributor.
Открытый метод Dispose() Releases all resources used by the current instance of the DeploymentContributor class.
Защищенный метод Dispose(Boolean) Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод 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.
Защищенный метод OnEstablishDeploymentConfiguration Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration.
Защищенный метод PublishMessage Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers.
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Deployment