Freigeben über


DeploymentPlanContributor.OnExecute-Methode

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
)

Parameter

Ausnahmen

Ausnahme Bedingung
DeploymentFailedException

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

Siehe auch

Verweis

DeploymentPlanContributor Klasse

Microsoft.SqlServer.Dac.Deployment-Namespace