Délégué DataTransferProgressEventHandler
Represents the method that handles events raised by the data transfer progress reporting process.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Delegate Function DataTransferProgressEventHandler ( _
sender As Object, _
e As DataTransferProgressEventArgs _
) As Boolean
'Utilisation
Dim instance As New DataTransferProgressEventHandler(AddressOf HandlerMethod)
public delegate bool DataTransferProgressEventHandler(
Object sender,
DataTransferProgressEventArgs e
)
public delegate bool DataTransferProgressEventHandler(
Object^ sender,
DataTransferProgressEventArgs^ e
)
type DataTransferProgressEventHandler =
delegate of
sender:Object *
e:DataTransferProgressEventArgs -> bool
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
Type : System. . :: . .Object
The Object object that raised the event.
- e
Type : Microsoft.SqlServer.Management.Common. . :: . .DataTransferProgressEventArgs
An DataTransferProgressEventArgs value that specifies the arguments passed to the event handler.
Valeur de retour
Type : System. . :: . .Boolean