Add(Int32, String) method

Creates a new ULBulkCopyColumnMapping using a column ordinal to refer to the source column and a column name to refer to the destination column, and adds mapping to the collection.

Syntax
Visual Basic

Public Function Add( _
   ByVal sourceColumnOrdinal As Integer, _
   ByVal destinationColumn As String _
) As ULBulkCopyColumnMapping
C#

public ULBulkCopyColumnMapping Add(
   int sourceColumnOrdinal,
   string  destinationColumn
);
Parameters
  • sourceColumnOrdinal   The ordinal position of the source column within the data source. The first column in a data source has ordinal position zero.

  • destinationColumn   The name of the destination column within the destination table.

Remarks

Restrictions: The ULBulkCopyColumnMappingCollection class is not available in the .NET Compact Framework 2.0.

See also