共用方式為


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 命名空間