Share via


LogProvider.Disposed Event

Adds an event handler to listen to the Disposed event on the log provider.

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

The event handler receives an argument of type EventArgs. 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, see "Events and Delegates" in the .NET Framework Class 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

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