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
)
参数
- step
类型:Microsoft.Data.Schema.Build.DeploymentStep
标识将在其后添加 newStep 的 DeploymentStep。
- newStep
类型:Microsoft.Data.Schema.Build.DeploymentStep
要添加的 DeploymentStep。
异常
异常 | 条件 |
---|---|
ArgumentNullException | 一个或多个参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Data.Schema.Build 命名空间