DeploymentContributor.OnEstablishDeploymentConfiguration 方法

定义

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

protected virtual void OnEstablishDeploymentConfiguration(Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup setup);
abstract member OnEstablishDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup -> unit
override this.OnEstablishDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup -> unit
Protected Overridable Sub OnEstablishDeploymentConfiguration (setup As DeploymentContributorConfigurationSetup)

参数

例外

如果出现严重错误,应阻止生成过程继续,则实现参与者可能会引发错误 BuildFailedException

适用于