Initializes a ULBulkCopy object with the specified ULConnection, copy options and ULTransaction.
Visual Basic Public Sub New( _ ByVal connection As ULConnection, _ ByVal copyOptions As ULBulkCopyOptions, _ ByVal externalTransaction As ULTransaction _ )
C# public ULBulkCopy( ULConnection connection, ULBulkCopyOptions copyOptions, ULTransaction externalTransaction );
connection The already open ULConnection that will be used to perform the bulk-copy operation. If the connection is not open, an exception is thrown in WriteToServer.
copyOptions A combination of values from the ULBulkCopyOptions enumeration that determines how data source rows are copied to the destination table.
externalTransaction An existing ULTransaction instance under which the bulk copy will occur. If externalTransaction is not a null reference (Nothing in Visual Basic), then the bulk-copy operation is done within it. It is an error to specify both an external transaction and the ULBulkCopyOptions.UseInternalTransaction option.
Restrictions: The ULBulkCopy class is not available in the .NET Compact Framework 2.0.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|