MaximumErrorsBeforeAbort Property (SQL-DMO)

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

Applies To

BulkCopy Object

Syntax

object.MaximumErrorsBeforeAbort [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Positive, long integer less than 65,535

Remarks

The default is 10, and a bulk copy operation will stop 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.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMaximumErrorsBeforeAbort(LPLONG pRetVal);

HRESULT SetMaximumErrorsBeforeAbort(long NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.