DtsContainer.Disposed 事件

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

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

语法

声明
Public Event Disposed As EventHandler
用法
Dim instance As DtsContainer 
Dim handler As EventHandler 

AddHandler instance.Disposed, handler
public event EventHandler Disposed
public:
virtual   event EventHandler^ Disposed {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract Disposed : IEvent<EventHandler,
    EventArgs>
override Disposed : IEvent<EventHandler,
    EventArgs>
JScript 支持使用事件,但不支持声明新事件。

实现

IComponent.Disposed

注释

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.

请参阅

参考

DtsContainer 类

Microsoft.SqlServer.Dts.Runtime 命名空间