다음을 통해 공유


DeploymentPlanContributor.OnExecute 메서드

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

네임스페이스:  Microsoft.SqlServer.Dac.Deployment
어셈블리:  Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)

구문

‘선언
Protected MustOverride Sub OnExecute ( _
    context As DeploymentPlanContributorContext _
)
‘사용 방법
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
)

매개 변수

예외

예외 조건
DeploymentFailedException

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

참고 항목

참조

DeploymentPlanContributor 클래스

Microsoft.SqlServer.Dac.Deployment 네임스페이스