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
)
参数
- context
类型:Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributorContext
A DeploymentContributorContext object.
异常
异常 | 条件 |
---|---|
DeploymentFailedException | If there is a critical error the should stop the deployment process from continuing, implementing contributors may throw a DeploymentFailedException. |