BulkCopyTimeout property

Gets or sets the number of seconds for the operation to complete before it times out.

Syntax
Visual Basic
Public Property BulkCopyTimeout As Integer
C#
public int BulkCopyTimeout { get; set; }
Property value

The default value is 30 seconds.

Remarks

A value of zero indicates no limit. This should be avoided because it may cause an indefinite wait.

If the operation times out, then all rows in the current transaction are rolled back and an SAException is raised.

Setting it less than zero is an error.

See also