共用方式為


EventsObjectWrapper 類別

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

Represents an events object wrapper.

繼承階層

System.Object
  Microsoft.SqlServer.Dts.Tasks.ScriptTask.EventsObjectWrapper

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

語法

'宣告
Public Class EventsObjectWrapper
'用途
Dim instance As EventsObjectWrapper
public class EventsObjectWrapper
public ref class EventsObjectWrapper
type EventsObjectWrapper =  class end
public class EventsObjectWrapper

EventsObjectWrapper 型別公開下列成員。

建構函式

  名稱 說明
公用方法 EventsObjectWrapper 基礎結構。Initializes a new instance of the EventsObjectWrapper class.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 FireBreakpointHit 基礎結構。Raises an event when a breakpoint target is hit in the package.
公用方法 FireCustomEvent 基礎結構。Occurs when tasks raise custom task-defined events.
公用方法 FireError 基礎結構。Raises an event when error occurs.
公用方法 FireInformation 基礎結構。Raises an event containing information.
公用方法 FireProgress 基礎結構。Raises an event when measurable progress is made by the executable.
公用方法 FireQueryCancel 基礎結構。Raises an event to determine whether an executable should stop running.
公用方法 FireWarning 基礎結構。Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間