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:
|