SqlBulkCopy.WriteToServer Method
.NET Framework 4.5
Copies all rows from a data source to a destination table specified by the DestinationTableName property of the SqlBulkCopy object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WriteToServer(DataRow[]) | Copies all rows from the supplied DataRow array to a destination table specified by the DestinationTableName property of the SqlBulkCopy object. |
|
WriteToServer(DataTable) | Copies all rows in the supplied DataTable to a destination table specified by the DestinationTableName property of the SqlBulkCopy object. |
|
WriteToServer(IDataReader) | Copies all rows in the supplied IDataReader to a destination table specified by the DestinationTableName property of the SqlBulkCopy object. |
|
WriteToServer(DataTable, DataRowState) | Copies only rows that match the supplied row state in the supplied DataTable to a destination table specified by the DestinationTableName property of the SqlBulkCopy object. |