PercentCompleteEventHandler Delegate

The PercentCompleteEventHandler class represents the event handler that is used to handle percent complete events.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Delegate Sub PercentCompleteEventHandler ( _
    sender As Object, _
    e As PercentCompleteEventArgs _
)
public delegate void PercentCompleteEventHandler (
    Object sender,
    PercentCompleteEventArgs e
)
public delegate void PercentCompleteEventHandler (
    Object^ sender, 
    PercentCompleteEventArgs^ e
)
/** @delegate */
public delegate void PercentCompleteEventHandler (
    Object sender, 
    PercentCompleteEventArgs 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 value that specifies the source of the event.
  • e
    A PercentCompleteEventArgs object that contains the event data.

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.Smo Namespace

Autres ressources

Handling SMO Events