Partager via


Add méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

For more information, see Variables.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (dans Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function Add ( _
    bstrName As String, _
    bReadOnly As Boolean, _
    bstrNamespace As String, _
    vValue As Object _
) As IDTSVariable100
'Utilisation
Dim instance As IDTSVariables100
Dim bstrName As String
Dim bReadOnly As Boolean
Dim bstrNamespace As String
Dim vValue As Object
Dim returnValue As IDTSVariable100

returnValue = instance.Add(bstrName, bReadOnly, _
    bstrNamespace, vValue)
IDTSVariable100 Add(
    string bstrName,
    bool bReadOnly,
    string bstrNamespace,
    Object vValue
)
IDTSVariable100^ Add(
    [InAttribute] String^ bstrName, 
    [InAttribute] bool bReadOnly, 
    [InAttribute] String^ bstrNamespace, 
    [InAttribute] Object^ vValue
)
abstract Add : 
        bstrName:string * 
        bReadOnly:bool * 
        bstrNamespace:string * 
        vValue:Object -> IDTSVariable100 
function Add(
    bstrName : String, 
    bReadOnly : boolean, 
    bstrNamespace : String, 
    vValue : Object
) : IDTSVariable100

Paramètres