Facilitates the copying of rows from one data source to another. The following tables list the members exposed by the DB2BulkCopy class.
Name | Description |
---|---|
DB2BulkCopy | Overloaded. Initializes a new instance of the DB2BulkCopy class. |
Name | Description |
---|---|
BulkCopyTimeout | Number of seconds for the bulk copy operation to complete before it times out. |
ColumnMappings | Mappings of columns from the data source table to columns in the destination table. |
DestinationTableName | Name of the destination table on the server. |
Errors | Errors in the bulk copy operation. |
NotifyAfter | The number of rows to copy before generating a DB2RowsCopied event. |
Name | Description |
---|---|
Close | Closes the DB2BulkCopy instance. |
Dispose | Closes the DB2BulkCopy instance. |
WriteToServer | Overloaded. Copies all rows from a data source to the destination table specified by the DestinationTableName property. |
Name | Description |
---|---|
DB2RowsCopied | Occurs every time the number of rows copied reaches the value set in the NotifyAfter property. |