Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration.
命名空间: Microsoft.SqlServer.Dac.Deployment
程序集: Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)
语法
声明
Protected Overridable Sub OnEstablishDeploymentConfiguration ( _
setup As DeploymentContributorConfigurationSetup _
)
用法
Dim setup As DeploymentContributorConfigurationSetup
Me.OnEstablishDeploymentConfiguration(setup)
protected virtual void OnEstablishDeploymentConfiguration(
DeploymentContributorConfigurationSetup setup
)
protected:
virtual void OnEstablishDeploymentConfiguration(
DeploymentContributorConfigurationSetup^ setup
)
abstract OnEstablishDeploymentConfiguration :
setup:DeploymentContributorConfigurationSetup -> unit
override OnEstablishDeploymentConfiguration :
setup:DeploymentContributorConfigurationSetup -> unit
protected function OnEstablishDeploymentConfiguration(
setup : DeploymentContributorConfigurationSetup
)
参数
- setup
类型:Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup
The current DeploymentContributorConfigurationSetup object.
异常
异常 | 条件 |
---|---|
BuildFailedException | If there is a critical error that should stop the build process from continuing, implementing contributors may throw a BuildFailedException. |