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

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SABulkCopy class » SABulkCopy constructors


SABulkCopy(String, SABulkCopyOptions) constructor

Initializes an SABulkCopy object.

Visual Basic

Public Sub New( _
   ByVal connectionString As String, _
   ByVal copyOptions As SABulkCopyOptions _

public  SABulkCopy(
   string  connectionString,
   SABulkCopyOptions copyOptions
  • connectionString   The string defining the connection that will be opened for use by the SABulkCopy instance. A connection string is a semicolon-separated list of keyword=value pairs.

  • copyOptions   A combination of values from the SABulkCopyOptions enumeration that determines which 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. The copyOptions parameter has the effects described above.

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

See also