SqlBulkCopy Tutorial
(Under Construction)


This Website is under developement. It will be ready at the end of April.

SqlBulkCopy EnableStreaming

Description

True to enable streaming for IDataReader object.

  • Type: System.Boolean
  • Default Value: false

Example

Example

using (SqlBulkCopy bulkCopy = new SqlBulkCopy(connectionString))
{
    // SET EnableStreaming value.
    bulkCopy.EnableStreaming = true;

    bulkCopy.DestinationTableName = "TheDestinationTable";
    bulkCopy.WriteToServer(reader);
}