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. |