Export (0) Print
Expand All

MaximumErrorsBeforeAbort Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The MaximumErrorsBeforeAbort property specifies the error limit for a bulk copy operation.


object
.MaximumErrorsBeforeAbort [= value]

object

An expression that evaluates to an object in the Applies To list

value

A positive, long integer less than 65,535

Long

Read/write

HRESULT GetMaximumErrorsBeforeAbort(LPLONG pRetVal);
HRESULT SetMaximumErrorsBeforeAbort(long NewValue);

The default is 10, and a bulk-copy operation stops when ten errors occur. Setting the property to a value greater than 65,535 results in use of the maximum, 65,535. An attempt to set the MaximumErrorsBeforeAbort property to a value less than 1 causes use of the default.

Community Additions

ADD
Show:
© 2014 Microsoft