Parameters.Add(String, TypeCode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.