Share via


StatementEventHandler Delegate

The StatementEventHandler class represents the method that handles the event raised by a statement.

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
Public Delegate Sub StatementEventHandler ( _
    sender As Object, _
    e As StatementEventArgs _
)
public delegate void StatementEventHandler (
    Object sender,
    StatementEventArgs e
)
public delegate void StatementEventHandler (
    Object^ sender, 
    StatementEventArgs^ e
)
/** @delegate */
public delegate void StatementEventHandler (
    Object sender, 
    StatementEventArgs e
)
JScript prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.

Paramètres

  • sender
    An Object system object value that specifies the object that raised the event.

Notes

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Exemple

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

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

Microsoft.SqlServer.Management.Common Namespace

Autres ressources

Handling SMO Events