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 listvalue
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.