Share via


DeploymentPlanContributor.OnExecute Method

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Protected MustOverride Sub OnExecute ( _
    context As DeploymentPlanContributorContext _
)
'Usage
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
)

Parameters

Exceptions

Exception Condition
DeploymentFailedException

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

See Also

Reference

DeploymentPlanContributor Class

Microsoft.SqlServer.Dac.Deployment Namespace