ExportData Method

Description

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.

Visual Basic

lRowsExported = View.ExportData ( [Bcp :=] BulkCopy )

C++

HRESULT pView->ExportData (
LPSQLOLEBULKCOPY
pBulkCopy,
LPLONG
plRowsExported = NULL );

Elements


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