Share via


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);
abstract member Add : string * TypeCode -> Microsoft.SqlServer.Dts.Runtime.Parameter
Public MustOverride Function Add (parameterName As String, dataType As TypeCode) As Parameter

Parameters

parameterName
String

The name of the parameter.

dataType
TypeCode

The data type of the parameter.

Returns

A newly added parameter object.

Applies to