Share via


DataTransferProgressEventHandler Delegate

Represents the method that handles events raised by the data transfer progress reporting process.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Delegate Function DataTransferProgressEventHandler ( _
    sender As Object, _
    e As DataTransferProgressEventArgs _
) As Boolean
'Usage
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 supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    Type: Object
    The Object object that raised the event.

Return Value

Type: Boolean
A Boolean.

Examples

Handling SMO Events

See Also

Reference

Microsoft.SqlServer.Management.Common Namespace