Partager via


LogProvider.Disposed Event

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

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.

Notes

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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