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