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)

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.