共用方式為


OnPreExecute 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Sub OnPreExecute ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
'用途
Dim instance As PackageUpgradeResult
Dim exec As Executable
Dim fireAgain As Boolean

instance.OnPreExecute(exec, fireAgain)
public void OnPreExecute(
    Executable exec,
    ref bool fireAgain
)
public:
virtual void OnPreExecute(
    Executable^ exec, 
    bool% fireAgain
) sealed
abstract OnPreExecute : 
        exec:Executable * 
        fireAgain:bool byref -> unit 
override OnPreExecute : 
        exec:Executable * 
        fireAgain:bool byref -> unit 
public final function OnPreExecute(
    exec : Executable, 
    fireAgain : boolean
)

實作

IDTSEvents. . :: . .OnPreExecute(Executable, Boolean%)