DeploymentPlanModifier.AddAfter Method
Adds a new deployment step to the plan after an existing step.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- handle
Type: Microsoft.Data.Schema.Build.DeploymentPlanHandle
The DeploymentPlanHandle for the plan.
- step
Type: Microsoft.Data.Schema.Build.DeploymentStep
Identifies the DeploymentStep after 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.
See Also
Reference
Microsoft.Data.Schema.Build Namespace