Freigeben über


GetWrapper-Methode (IDTSVariables100)

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Shared Function GetWrapper ( _
    variables As IDTSVariables100 _
) As Variables
'Usage
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

Rückgabewert

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

Hinweise

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