PackageUpgradeResult.OnExecutionStatusChanged 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Occurs when the execution status changes.
命名空間: 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
)
參數
- exec
型別:Microsoft.SqlServer.Dts.Runtime.Executable
The task raising the event.
- newStatus
型別:Microsoft.SqlServer.Dts.Runtime.DTSExecStatus
The current status of the executable.
- fireAgain
型別:System.Boolean%
True if the object should continue firing; otherwise, false.
實作
IDTSEvents.OnExecutionStatusChanged(Executable, DTSExecStatus, Boolean%)