Imports the data from a DataReader into a Table at the point of the current element in the document. Also accepts a DataImportProperties object that contains the import options.

 public Table ImportData(System.Data.IDataReader data, DataImportProperties props)
Public Function ImportData(ByVal data As System.Data.IDataReader, ByVal props As DataImportProperties) As Table

DataReader to import the data from.

Import properties for this data import, including max rows, max columns, column filter, etc.

The Table that the data was imported into.

Table tbl = e.ImportData(dr, importProps);
Dim tbl As table = e.ImportData(dr, importProps)