SqlBulkCopy.RowsCopied Property

Definition

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

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

Property Value

Int32

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.

During the execution of a bulk copy operation, this value can be accessed, but it cannot be changed. Any attempt to change it will throw an InvalidOperationException.

Applies to