共用方式為


DeploymentPlan.AddBefore 方法

Adds a new deployment step to the plan before an existing step.

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public MustOverride Sub AddBefore ( _
    step As DeploymentStep, _
    newStep As DeploymentStep _
)
'用途
Dim instance As DeploymentPlan 
Dim step As DeploymentStep 
Dim newStep As DeploymentStep

instance.AddBefore(step, newStep)
public abstract void AddBefore(
    DeploymentStep step,
    DeploymentStep newStep
)
public:
virtual void AddBefore(
    DeploymentStep^ step, 
    DeploymentStep^ newStep
) abstract
abstract AddBefore : 
        step:DeploymentStep * 
        newStep:DeploymentStep -> unit
public abstract function AddBefore(
    step : DeploymentStep, 
    newStep : DeploymentStep
)

參數

請參閱

參考

DeploymentPlan 類別

Microsoft.SqlServer.Dac.Deployment 命名空間