Condividi tramite


Metodo DeploymentPlanContributor.OnExecute

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

Spazio dei nomi  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

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

Parametri

Eccezioni

Eccezione Condizione
DeploymentFailedException

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

Vedere anche

Riferimento

DeploymentPlanContributor Classe

Spazio dei nomi Microsoft.SqlServer.Dac.Deployment