次の方法で共有


DeploymentContributor.OnEstablishDeploymentConfiguration メソッド

DacFx でビルド プロセスによって呼び出され、コードは配置構成を変更できます。

名前空間:  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
)

パラメーター

例外

例外 条件
BuildFailedException

ビルド プロセスの続行を停止する重大なエラーが発生する場合、コントリビューターを実装すると BuildFailedException がスローされる可能性があります。

関連項目

参照

DeploymentContributor クラス

Microsoft.SqlServer.Dac.Deployment 名前空間