DeploymentPlanContributor.OnExecute 方法

Indicates a member called by the deployment engine to allow custom contributors to execute their unique tasks.

命名空间:  Microsoft.SqlServer.Dac.Deployment
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
Protected MustOverride Sub OnExecute ( _
    context As DeploymentPlanContributorContext _
)
用法
Dim context As DeploymentPlanContributorContext 

Me.OnExecute(context)
protected abstract void OnExecute(
    DeploymentPlanContributorContext context
)
protected:
virtual void OnExecute(
    DeploymentPlanContributorContext^ context
) abstract
abstract OnExecute : 
        context:DeploymentPlanContributorContext -> unit
protected abstract function OnExecute(
    context : DeploymentPlanContributorContext
)

参数

异常

异常 条件
DeploymentFailedException

If there is a critical error the should stop the deployment process from continuing, implementing contributors may throw a DeploymentFailedException.

请参阅

参考

DeploymentPlanContributor 类

Microsoft.SqlServer.Dac.Deployment 命名空间