WriteToServer(IDataReader) method

Copies all rows in the supplied System.Data.IDataReader to a destination table specified by the DestinationTableName of the ULBulkCopy object.

Syntax
Visual Basic
Public Sub WriteToServer( _
   ByVal reader As IDataReader _
)
C#
public void WriteToServer(
   IDataReader reader
);
Parameters
  • reader   A System.Data.IDataReader whose rows will be copied to the destination table.

See also