System.Data.SqlClient.SqlBulkCopy: Method Members

The methods of System.Data.SqlClient.SqlBulkCopy are listed below. For a list of all members, see the SqlBulkCopy Members list.

See Also: Inherited members from System.Object

Public Methods

Close()

Closes the System.Data.SqlClient.SqlBulkCopy instance.

WriteToServer(System.Data.DataRow[])

Copies all rows from the supplied System.Data.DataRow array to a destination table specified by the SqlBulkCopy.DestinationTableName property of the System.Data.SqlClient.SqlBulkCopy object.

WriteToServer(System.Data.DataTable)

Copies all rows in the supplied System.Data.DataTable to a destination table specified by the SqlBulkCopy.DestinationTableName property of the System.Data.SqlClient.SqlBulkCopy object.

WriteToServer(System.Data.IDataReader)

Copies all rows in the supplied System.Data.IDataReader to a destination table specified by the SqlBulkCopy.DestinationTableName property of the System.Data.SqlClient.SqlBulkCopy object.

WriteToServer(System.Data.DataTable, System.Data.DataRowState)

Copies only rows that match the supplied row state in the supplied System.Data.DataTable to a destination table specified by the SqlBulkCopy.DestinationTableName property of the System.Data.SqlClient.SqlBulkCopy object.