Partager via


Méthode DeploymentPlanContributor.OnExecute

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

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Protected MustOverride Sub OnExecute ( _
    context As DeploymentPlanContributorContext _
)
'Utilisation
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
)

Paramètres

Exceptions

Exception Condition
DeploymentFailedException

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

Voir aussi

Référence

DeploymentPlanContributor Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment