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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULBulkCopy class » ULBulkCopy constructors

ULBulkCopy(String) constructor Next Page

ULBulkCopy(String, ULBulkCopyOptions) constructor


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

Syntax

Visual Basic

Public Sub New( _
ByVal connectionString As String, _
ByVal copyOptions As ULBulkCopyOptions _
)

C#

public ULBulkCopy(
string connectionString,
ULBulkCopyOptions copyOptions
);

Parameters
Remarks

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