DeploymentPlanModifier.AddAfter 方法

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

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

语法

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

参数

异常

异常 条件
ArgumentNullException

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

.NET Framework 安全性

请参见

参考

DeploymentPlanModifier 类

Microsoft.Data.Schema.Build 命名空间

DeploymentPlanHandle

DeploymentStep

其他资源

扩展 Visual Studio 的数据库功能