Método DeploymentPlanContributor.OnExecute
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 (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
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
- context
Tipo: Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributorContext
A DeploymentContributorContext object.
Exceções
Exceção | Condição |
---|---|
DeploymentFailedException | If there is a critical error the should stop the deployment process from continuing, implementing contributors may throw a DeploymentFailedException. |