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