Add(String, SADbType, Int32, String) method

Adds an SAParameter object to this collection, created using the specified parameter name, data type, length, and source column name, to the collection.

Syntax
Visual Basic

Public Function Add( _
   ByVal parameterName As String, _
   ByVal saDbType As SADbType, _
   ByVal size As Integer, _
   ByVal sourceColumn As String _
) As SAParameter
C#

public SAParameter Add(
   string  parameterName,
   SADbType saDbType,
   int size,
   string  sourceColumn
);
Parameters
  • parameterName   The name of the parameter.

  • saDbType   One of the SADbType values.

  • size   The length of the column.

  • sourceColumn   The name of the source column to map.

Return value

The new SAParameter object.

See also