Add(Int32, String) method

Creates a new SABulkCopyColumnMapping object 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 SABulkCopyColumnMapping
C#

public SABulkCopyColumnMapping Add(
   int sourceColumnOrdinal,
   string  destinationColumn
);
Parameters
  • sourceColumnOrdinal   The ordinal position of the source column within the data source.

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

Remarks

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

See also