Partilhar via


DataTransferProgressEventHandler Delegate

The DataTransferProgressEventHandler class represents the method that handles the event 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
public delegate bool DataTransferProgressEventHandler (
    Object sender,
    DataTransferProgressEventArgs e
)
public delegate bool DataTransferProgressEventHandler (
    Object^ sender, 
    DataTransferProgressEventArgs^ e
)
/** @delegate */
public delegate boolean DataTransferProgressEventHandler (
    Object sender, 
    DataTransferProgressEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    An Object system object value that specifies the object that raised the event.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Common Namespace

Other Resources

Handling SMO Events