計画の既存の手順の前に新しい配置手順を追加します。
名前空間: 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
)
パラメーター
- step
型: Microsoft.Data.Schema.Build.DeploymentStep
newStep を追加する場所の後にある DeploymentStep を識別します。
- newStep
型: Microsoft.Data.Schema.Build.DeploymentStep
追加される DeploymentStep。
例外
例外 | 条件 |
---|---|
ArgumentNullException | 1 つ以上のパラメーターが nullnull 参照 (Visual Basic では Nothing) です。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。