Метод DefaultEvents.OnPreExecute
This method is called when the execution logic begins. This event is raised by a task or a container immediately before it runs.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Overridable Sub OnPreExecute ( _
exec As Executable, _
ByRef fireAgain As Boolean _
)
'Применение
Dim instance As DefaultEvents
Dim exec As Executable
Dim fireAgain As Boolean
instance.OnPreExecute(exec, fireAgain)
public virtual void OnPreExecute(
Executable exec,
ref bool fireAgain
)
public:
virtual void OnPreExecute(
Executable^ exec,
bool% fireAgain
)
abstract OnPreExecute :
exec:Executable *
fireAgain:bool byref -> unit
override OnPreExecute :
exec:Executable *
fireAgain:bool byref -> unit
public function OnPreExecute(
exec : Executable,
fireAgain : boolean
)
Параметры
- exec
Тип: Microsoft.SqlServer.Dts.Runtime.Executable
The task raising the event.
- fireAgain
Тип: System.Boolean%
A Boolean that indicates whether this should continue firing or stop firing. A value of true indicates that it should continue firing.
Реализует
IDTSEvents.OnPreExecute(Executable, Boolean%)