Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
用指定的连接字符串和复制选项初始化 ULBulkCopy 对象。
Public Sub New( ByVal connectionString As String, ByVal copyOptions As ULBulkCopyOptions )
public ULBulkCopy( string connectionString, ULBulkCopyOptions copyOptions )
connectionString 一个字符串,用于定义将打开以供 ULBulkCopy 对象使用的连接。连接字符串是以分号分隔的 "关键字=值" 对的列表。
copyOptions ULBulkCopyOptions 枚举中的值组合,用于确定如何将数据源行复制到目标表中。
无法在 .NET Compact Framework 2.0 中使用 ULBulkCopy 类。
此语法在 WriteToServer 方法调用期间使用 connectionString 值打开连接。连接在 WriteToServer 调用结束时关闭。