共用方式為


OnExecutionStatusChanged 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

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

語法

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

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

實作

IDTSEvents. . :: . .OnExecutionStatusChanged(Executable, DTSExecStatus, Boolean%)