Método Parameters.Add
Adds a parameter object to the parameters collection with the specified name and data type.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
Public MustOverride Function Add ( _
parameterName As String, _
dataType As TypeCode _
) As Parameter
'Uso
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
Parâmetros
- parameterName
Tipo: System.String
The name of the parameter.
- dataType
Tipo: System.TypeCode
The data type of the parameter.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Parameter
A newly added parameter object.