Partager via


GetWrapper méthode (IDTSVariables100)

Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.

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

Syntaxe

'Déclaration
Public Shared Function GetWrapper ( _
    variables As IDTSVariables100 _
) As Variables
'Utilisation
Dim variables As IDTSVariables100
Dim returnValue As Variables

returnValue = DtsConvert.GetWrapper(variables)
public static Variables GetWrapper(
    IDTSVariables100 variables
)
public:
static Variables^ GetWrapper(
    IDTSVariables100^ variables
)
static member GetWrapper : 
        variables:IDTSVariables100 -> Variables 
public static function GetWrapper(
    variables : IDTSVariables100
) : Variables

Valeur de retour

Type : Microsoft.SqlServer.Dts.Runtime. . :: . .Variables
The managed Variables object that corresponds to the specified native IDTSVariables100 object.

Notes

Use the DtsConvert..::..GetWrapper(IDTSVariables100) method instead of the obsolete ToVariables method.