IDTSEvents100 接口

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Defines methods for the events.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
<GuidAttribute("C60F12D0-2574-408D-9452-0772C4626ADE")> _
Public Interface IDTSEvents100
用法
Dim instance As IDTSEvents100
[GuidAttribute("C60F12D0-2574-408D-9452-0772C4626ADE")]
public interface IDTSEvents100
[GuidAttribute(L"C60F12D0-2574-408D-9452-0772C4626ADE")]
public interface class IDTSEvents100
[<GuidAttribute("C60F12D0-2574-408D-9452-0772C4626ADE")>]
type IDTSEvents100 =  interface end
public interface IDTSEvents100

IDTSEvents100 类型公开以下成员。

方法

  名称 说明
公共方法 OnBreakpointHit 基础结构。Called when a breakpoint is hit within a task.
公共方法 OnCustomEvent 基础结构。Called by tasks to raise custom task-defined events.
公共方法 OnError 基础结构。Called by a task or container when an error occurs.
公共方法 OnExecutionStatusChanged 基础结构。Called by a task or container when its execution status changes.
公共方法 OnInformation 基础结构。Called any time the task is required to provide information.
公共方法 OnPostExecute 基础结构。Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
公共方法 OnPostValidate 基础结构。Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
公共方法 OnPreExecute 基础结构。Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
公共方法 OnPreValidate 基础结构。Called when the actual validation logic of the task starts. This event is raised when the validation of the task host or container begins.
公共方法 OnProgress 基础结构。Called to update progress about task execution.
公共方法 OnQueryCancel 基础结构。Indicates a method called at any juncture in task processing where it is feasible to cancel execution. This event is raised by tasks and containers to determine whether they should stop running.
公共方法 OnTaskFailed 基础结构。Called by the task host when it fails.
公共方法 OnVariableValueChanged 基础结构。Called by the run-time engine. It is not called by tasks.
公共方法 OnWarning 基础结构。Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

页首

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间