DeploymentPlanExecutor 类

定义

此类表示执行部署计划的部署 constributor。 一个 constributor 示例是执行部署步骤以创建有关部署过程中执行的操作的报告

public abstract class DeploymentPlanExecutor : Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributor
type DeploymentPlanExecutor = class
    inherit DeploymentPlanContributor
Public MustInherit Class DeploymentPlanExecutor
Inherits DeploymentPlanContributor
继承

构造函数

名称 说明
DeploymentPlanExecutor()

此类表示执行部署计划的部署 constributor。 一个 constributor 示例是执行部署步骤以创建有关部署过程中执行的操作的报告

属性

名称 说明
Canceled

获取一个值,该值指示是否已取消参与者

(继承自 DeploymentContributor)
CancellationToken

CancellationToken用于指示是否应取消参与者执行

(继承自 DeploymentContributor)

方法

名称 说明
Cancel()

取消参与者的执行

(继承自 DeploymentContributor)
Dispose()

继承自 Dispose()

(继承自 DeploymentContributor)
Dispose(Boolean)

此类表示执行部署计划的部署 constributor。 一个 constributor 示例是执行部署步骤以创建有关部署过程中执行的操作的报告

(继承自 DeploymentContributor)
OnApplyDeploymentConfiguration(DeploymentContributorContext, ICollection<DeploymentContributorConfigurationStream>)

由 DacFx 中的部署过程调用,使代码有机会从提供的文件收集配置信息。 在方法结束时,将释放所有流。 需要从流获取数据的参与者必须在此方法期间读取和缓存数据 - 尝试在以后的方法(如 OnExecute(DeploymentPlanContributorContext) 该方法)期间从流中读取数据会失败。

(继承自 DeploymentContributor)
OnEstablishDeploymentConfiguration(DeploymentContributorConfigurationSetup)

由 DacFx 中的生成过程调用,使代码有机会修改部署配置。

(继承自 DeploymentContributor)
OnExecute(DeploymentPlanContributorContext)

由部署引擎调用以允许自定义参与者执行其唯一任务

(继承自 DeploymentPlanContributor)
PublishMessage(ExtensibilityError)

将消息发布到部署引擎。 部署引擎将处理消息并将其报告给使用者。

(继承自 DeploymentContributor)

适用于