Parameters.Add Method
Adds a parameter object to the parameters collection with the specified name and data type.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public MustOverride Function Add ( _
parameterName As String, _
dataType As TypeCode _
) As Parameter
'Usage
Dim instance As Parameters
Dim parameterName As String
Dim dataType As TypeCode
Dim returnValue As Parameter
returnValue = instance.Add(parameterName, _
dataType)
public abstract Parameter Add(
string parameterName,
TypeCode dataType
)
public:
virtual Parameter^ Add(
String^ parameterName,
TypeCode dataType
) abstract
abstract Add :
parameterName:string *
dataType:TypeCode -> Parameter
public abstract function Add(
parameterName : String,
dataType : TypeCode
) : Parameter
Parameters
- parameterName
Type: System.String
The name of the parameter.
- dataType
Type: System.TypeCode
The data type of the parameter.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Parameter
A newly added parameter object.