DeploymentPlanModifier.AddBefore 方法

在计划中的现有步骤前添加新的部署步骤。

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Protected Sub AddBefore ( _
    handle As DeploymentPlanHandle, _
    step As DeploymentStep, _
    newStep As DeploymentStep _
)
protected void AddBefore(
    DeploymentPlanHandle handle,
    DeploymentStep step,
    DeploymentStep newStep
)
protected:
void AddBefore(
    DeploymentPlanHandle^ handle, 
    DeploymentStep^ step, 
    DeploymentStep^ newStep
)
member AddBefore : 
        handle:DeploymentPlanHandle * 
        step:DeploymentStep * 
        newStep:DeploymentStep -> unit 
protected function AddBefore(
    handle : DeploymentPlanHandle, 
    step : DeploymentStep, 
    newStep : DeploymentStep
)

参数

异常

异常 条件
ArgumentNullException

一个或多个参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

DeploymentPlanModifier 类

Microsoft.Data.Schema.Build 命名空间

DeploymentPlanHandle

DeploymentStep