Abort Method

Description

Stops a running bulk copy. When one thread has called the ImportData or ExportData method of the Table object or the View.ExportData method that is using this BulkCopy object, and the appropriate method has not yet returned, call Abort from another thread to stop the bulk copy operation.

Visual Basic

BulkCopy.Abort

C++

HRESULT pBulkCopy->Abort ( );