ColumnMappings property

Returns a collection of ULBulkCopyColumnMapping items. Column mappings define the relationships between columns in the data source and columns in the destination.

Syntax
Visual Basic
Public Readonly Property ColumnMappings As ULBulkCopyColumnMappingCollection
C#
public ULBulkCopyColumnMappingCollection ColumnMappings { get;}
Property value

By default, it is an empty collection.

Remarks

The property cannot be modified while WriteToServer is executing.

If ColumnMappings is empty when WriteToServer is executed, then the first column in the source is mapped to the first column in the destination, the second to the second, and so on. This takes place as long as the column types are convertible, there are at least as many destination columns as source columns, and any extra destination columns are nullable.

See also