Parameters.Add(String, TypeCode) Parameters.Add(String, TypeCode) Parameters.Add(String, TypeCode) Method

Definition

Adds a parameter object to the parameters collection with the specified name and data type.

public:
 abstract Microsoft::SqlServer::Dts::Runtime::Parameter ^ Add(System::String ^ parameterName, TypeCode dataType);
public abstract Microsoft.SqlServer.Dts.Runtime.Parameter Add (string parameterName, TypeCode dataType);
Public MustOverride Function Add (parameterName As String, dataType As TypeCode) As Parameter

Parameters

parameterName
String String String

The name of the parameter.

dataType
TypeCode TypeCode TypeCode

The data type of the parameter.

Returns

A newly added parameter object.

Applies to