共用方式為


DtsContainer.Disposed Event

Adds an event handler to listen to the Disposed event on the component.

命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

語法

'宣告
Public Event Disposed As EventHandler
public event EventHandler Disposed
public:
virtual event EventHandler^ Disposed {
    void add (EventHandler^ value) sealed;
    void remove (EventHandler^ value) sealed;
}
/** @event */
public final void add_Disposed (EventHandler value)

/** @event */
public final void remove_Disposed (EventHandler value)
JScript 支援事件的使用,但不支援新事件的宣告。

備註

When you create a Disposed delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about the event handler delegates, look for "Events and Delegates" in the MSDN library.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DtsContainer Class
DtsContainer Members
Microsoft.SqlServer.Dts.Runtime Namespace