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
識別 DeploymentStep,之後再加入 newStep。
- newStep
型別:Microsoft.Data.Schema.Build.DeploymentStep
要加入的 DeploymentStep。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | 一或多個參數是 nullNull 參照 (即 Visual Basic 中的 Nothing)。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Data.Schema.Build 命名空間