This documentation is archived and is not being maintained.

SqlBulkCopyColumnMapping Constructor

Initializes a new instance of the SqlBulkCopyColumnMapping class.

Name Description
SqlBulkCopyColumnMapping () Default constructor that initializes a new SqlBulkCopyColumnMapping object.
SqlBulkCopyColumnMapping (Int32, Int32) Creates a new column mapping, using column ordinals to refer to source and destination columns.
SqlBulkCopyColumnMapping (Int32, String) Creates a new column mapping, using a column ordinal to refer to the source column and a column name for the target column.
SqlBulkCopyColumnMapping (String, Int32) Creates a new column mapping, using a column name to refer to the source column and a column ordinal for the target column.
SqlBulkCopyColumnMapping (String, String) Creates a new column mapping, using column names to refer to source and destination columns.
Show: