DeploymentPlanContributor.OnExecute(DeploymentPlanContributorContext) 方法

定义

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

protected abstract void OnExecute(Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributorContext context);
abstract member OnExecute : Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributorContext -> unit
Protected MustOverride Sub OnExecute (context As DeploymentPlanContributorContext)

参数

例外

如果出现严重错误,则应停止部署过程继续,实现参与者可能会引发错误 DeploymentFailedException

适用于