次の方法で共有


MaximumErrorsBeforeAbort Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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

構文

object
.MaximumErrorsBeforeAbort [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A positive, long integer less than 65,535

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

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.

Applies To:

BulkCopy Object