Share via


DtsConvert.GetWrapper Method (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

Parameters

Return Value

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

Remarks

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

See Also

Reference

DtsConvert Class

GetWrapper Overload

Microsoft.SqlServer.Dts.Runtime Namespace