Partager via


Délégué ProgressReportEventHandler

The ProgressReportEventHandler class represents the event handler that is used to handle progress report events.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Delegate Sub ProgressReportEventHandler ( _
    sender As Object, _
    e As ProgressReportEventArgs _
)
'Utilisation
Dim instance As New ProgressReportEventHandler(AddressOf HandlerMethod)
public delegate void ProgressReportEventHandler(
    Object sender,
    ProgressReportEventArgs e
)
public delegate void ProgressReportEventHandler(
    Object^ sender, 
    ProgressReportEventArgs^ e
)
type ProgressReportEventHandler = 
    delegate of 
        sender:Object * 
        e:ProgressReportEventArgs -> unit
JScript prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.

Paramètres