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 的資料庫功能