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