Initializes an SABulkCopy object.
Visual Basic Public Sub New( _ ByVal connection As SAConnection, _ ByVal copyOptions As SABulkCopyOptions, _ ByVal externalTransaction As SATransaction _ )
C# public SABulkCopy( SAConnection connection, SABulkCopyOptions copyOptions, SATransaction externalTransaction );
connection The already open SAConnection 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 SABulkCopyOptions enumeration that determines which data source rows are copied to the destination table.
externalTransaction An existing SATransaction instance under which the bulk copy will occur. If externalTransaction is not NULL, then the bulk-copy operation is done within it. It is an error to specify both an external transaction and the UseInternalTransaction option.
Restrictions: The SABulkCopy class is not available in the .NET Compact Framework 2.0.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |