Método IDTSParameters100.Add
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Adds a parameter object to the parameters collection with the specified name and data type.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Function Add ( _
bstrName As String, _
usDataType As UShort _
) As IDTSParameter100
'Uso
Dim instance As IDTSParameters100
Dim bstrName As String
Dim usDataType As UShort
Dim returnValue As IDTSParameter100
returnValue = instance.Add(bstrName, usDataType)
IDTSParameter100 Add(
string bstrName,
ushort usDataType
)
IDTSParameter100^ Add(
[InAttribute] String^ bstrName,
[InAttribute] unsigned short usDataType
)
abstract Add :
bstrName:string *
usDataType:uint16 -> IDTSParameter100
function Add(
bstrName : String,
usDataType : ushort
) : IDTSParameter100
Parâmetros
- bstrName
Tipo: System.String
The name of the parameter.
- usDataType
Tipo: System.UInt16
The data type of the parameter.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSParameter100
A newly added parameter object.