DeploymentPlanModifier.AddBefore Method
Adds a new deployment step to the plan before an existing step.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- handle
Type: Microsoft.Data.Schema.Build.DeploymentPlanHandle
The DeploymentPlanHandle for the plan.
- step
Type: Microsoft.Data.Schema.Build.DeploymentStep
Identifies the DeploymentStep before which the newStep will be added.
- newStep
Type: Microsoft.Data.Schema.Build.DeploymentStep
The DeploymentStep to be added.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | One or more of the parameters is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.