DataTransferProgressEventArgs Class

The DataTransferProgressEventArgs class represents the arguments used when a data transfer progress event is raised.

Inheritance Hierarchy

Object
  EventArgs
    Microsoft.SqlServer.Management.Common.DataTransferProgressEventArgs

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

Syntax

'Declaration
Public Class DataTransferProgressEventArgs _
    Inherits EventArgs
'Usage
Dim instance As DataTransferProgressEventArgs
public class DataTransferProgressEventArgs : EventArgs
public ref class DataTransferProgressEventArgs : public EventArgs
type DataTransferProgressEventArgs =  
    class 
        inherit EventArgs 
    end
public class DataTransferProgressEventArgs extends EventArgs

The DataTransferProgressEventArgs type exposes the following members.

Constructors

  Name Description
Public method DataTransferProgressEventArgs Initializes a new instance of the DataTransferProgressEventArgs class for the specified event with the specified transfer ID, progress count, and associated exception.

Top

Properties

  Name Description
Public property DataTransferProgressEventType Gets the type of data transfer progress event associated with the DataTransferProgressEventArgs object.
Public property Exception Gets the exception associated with the DataTransferProgressEventType object.
Public property ProgressCount Gets the current number of items transferred.
Public property TransferId Gets the ID value that uniquely identifies the data transfer progress event.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Handling SMO Events

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Common Namespace