ULBulkCopy(String) constructor

Initializes a ULBulkCopy object with the specified connection string.

Syntax
Visual Basic
Public Sub New( _
   ByVal connectionString As String _
)
C#
public  ULBulkCopy(
   string  connectionString
);
Parameters
  • 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.

Remarks

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

The connection string can be supplied using a ULConnectionParms object.

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

Implements: System.IDisposable

See also