System.Data.SqlClient.SqlBulkCopy.NotifyAfter Property

Defines the number of rows to be processed before generating a notification event.

Syntax

public int NotifyAfter { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is designed for user interface components that illustrate the progress of a bulk copy operation. It indicates the number of rows to be processed before generating a notification event. The SqlBulkCopy.NotifyAfter property can be set at any time, even while a bulk copy operation is underway. Changes made during a bulk copy operation take effect after the next notification. The new setting applies to all subsequent operations on the same instance.

If SqlBulkCopy.NotifyAfter is set to a number less than zero, an ArgumentOutOfRangeException is thrown.

Requirements

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