SqlRowsCopiedEventArgs.RowsCopied Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that returns the number of rows copied during the current bulk copy operation.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public long RowsCopied { get; }

Property Value

Type: System.Int64

int that returns the number of rows copied.

The value in the RowsCopied property is reset on each call to any of the SqlBulkCopy.WriteToServer methods.

.NET Framework
Available since 2.0
Return to top