Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULBulkCopy 类

 

BatchSize 属性

获取或设置每个批处理中的行数。每个批处理结束时,该批处理中的行将发送到服务器。

语法
Visual Basic
Public Property BatchSize As Integer
C#
public int BatchSize { get; set; }
属性值

每个批处理中的行数。缺省值为 0。

注释

将此属性设置为零会使所有行都通过一个批处理进行发送。

将它设置为小于零是错误的。

如果在批处理执行期间更改了此值,当前批处理仍将使用更改前的值完成,但所有后续批处理都将使用新值。

另请参见