Partager via


Délégué DataTransferEventHandler

The DataTransferEventHandler class represents the method that handles the event raised by the data transfer process.

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

Syntaxe

'Déclaration
Public Delegate Sub DataTransferEventHandler ( _
    sender As Object, _
    e As DataTransferEventArgs _
)
'Utilisation
Dim instance As New DataTransferEventHandler(AddressOf HandlerMethod)
public delegate void DataTransferEventHandler(
    Object sender,
    DataTransferEventArgs e
)
public delegate void DataTransferEventHandler(
    Object^ sender, 
    DataTransferEventArgs^ e
)
type DataTransferEventHandler = 
    delegate of 
        sender:Object * 
        e:DataTransferEventArgs -> 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