Compartir a través de


DeploymentPlanContributor.OnExecute Método

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

Espacio de nombres:  Microsoft.SqlServer.Dac.Deployment
Ensamblado:  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxis

'Declaración
Protected MustOverride Sub OnExecute ( _
    context As DeploymentPlanContributorContext _
)
'Uso
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
)

Parámetros

Excepciones

Excepción Condición
DeploymentFailedException

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

Vea también

Referencia

DeploymentPlanContributor Clase

Espacio de nombres Microsoft.SqlServer.Dac.Deployment