DeploymentContributor.OnEstablishDeploymentConfiguration 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由 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。