Partilhar via


DtsContainer.Disposed Event

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

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
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 supports the use of events, but not the declaration of new ones.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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