Bewerken

SqlBulkCopy.WriteToServer(DbDataReader) Method

Definition

Copies all rows from the supplied DbDataReader array to a destination table specified by the DestinationTableName property of the SqlBulkCopy object.

public:
 void WriteToServer(System::Data::Common::DbDataReader ^ reader);
public void WriteToServer(System.Data.Common.DbDataReader reader);
member this.WriteToServer : System.Data.Common.DbDataReader -> unit
Public Sub WriteToServer (reader As DbDataReader)

Parameters

reader
DbDataReader

A DbDataReader whose rows will be copied to the destination table.

Applies to