SqlBulkCopy.RowsCopied Property

Definition

The number of rows processed in the ongoing bulk copy operation.

public:
 property int RowsCopied { int get(); };
public int RowsCopied { get; }
member this.RowsCopied : int
Public ReadOnly Property RowsCopied As Integer

Property Value

The integer value of the RowsCopied property.

Remarks

This value is incremented during the SqlRowsCopied event and does not imply that this number of rows has been sent to the server or committed.

This value can be accessed during or after the execution of a bulk copy operation.

This value will wrap around and become negative if the number of rows exceeds int.MaxValue. Consider using the RowsCopied64 property.

Applies to