Bulk copies data from the table to a data file. Set the properties of a created BulkCopy object as desired, and pass it to the ExportData method.
lRowsExported = Table.ExportData ( [Bcp :=] BulkCopy )
HRESULT pTable->ExportData (
LPSQLOLEBULKCOPY pBulkCopy,
LPLONG plRowsExported = NULL );
| Element | Type | Description |
|---|
| lRowsExported | Long | Returned number of rows exported from the table to the data file |
| BulkCopy | BulkCopy | Created BulkCopy object that specifies how to execute the bulk copy |