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 Programming » UltraLite .NET 2.0 API reference » ULBulkCopy class » ULBulkCopy constructors


ULBulkCopy(String, ULBulkCopyOptions) constructor

Initializes a ULBulkCopy object with the specified connection string and copy options.

Visual Basic
Public Sub New( _
   ByVal connectionString As String, _
   ByVal copyOptions As ULBulkCopyOptions _
public  ULBulkCopy(
   string  connectionString,
   ULBulkCopyOptions copyOptions
  • connectionString   The string defining the connection that will be opened for use by the ULBulkCopy instance. A connection string is a semicolon-separated list of keyword=value pairs.

    For a list of parameters, see ConnectionString property.

  • copyOptions   A combination of values from the ULBulkCopyOptions enumeration that determines how data source rows are copied to the destination table.


This syntax opens a connection during WriteToServer using connectionString. The connection is closed at the end of WriteToServer.

Restrictions: The ULBulkCopy class is not available in the .NET Compact Framework 2.0.

See also