Copies all rows in the supplied IDataReader to a destination table specified by the DestinationTableName property of the SABulkCopy object.
Visual Basic
Public Sub WriteToServer( _
ByVal reader As IDataReader _
)
C#
public void WriteToServer(
IDataReader reader
);
reader A System.Data.IDataReader whose rows will be copied to the destination table.
Restrictions: The SABulkCopy class is not available in the .NET Compact Framework 2.0.