DeploymentPlanModifier.AddBefore Yöntem
Yeni bir dağıtım adım planı önce varolan bir adım ekler.
Ad alanı: Microsoft.Data.Schema.Build
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
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
)
Parametreler
- handle
Tür: Microsoft.Data.Schema.Build.DeploymentPlanHandle
DeploymentPlanHandle İçin plan.
- step
Tür: Microsoft.Data.Schema.Build.DeploymentStep
Tanımlar DeploymentStep , önce newStep eklenecektir.
- newStep
Tür: Microsoft.Data.Schema.Build.DeploymentStep
DeploymentStep Eklenecek.
Özel Durumlar
Exception | Koşul |
---|---|
ArgumentNullException | Parametrelerden en az biri olan nullnull başvuru (Visual Basic\'te Nothing). |
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.