Condividi tramite


Metodo IDTSParameters100.Add

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Adds a parameter object to the parameters collection with the specified name and data type.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Function Add ( _
    bstrName As String, _
    usDataType As UShort _
) As IDTSParameter100
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSParameter100
A newly added parameter object.

Vedere anche

Riferimento

IDTSParameters100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper