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
)

参数

  • 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%)