SqlBulkCopy.RowsCopied Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.