次の方法で共有


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

1 つ以上のパラメーターが nullnull 参照 (Visual Basic では Nothing) です。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DeploymentPlanModifier クラス

Microsoft.Data.Schema.Build 名前空間

DeploymentPlanHandle

DeploymentStep