Share via


DtsConvert.ToVariables Method

Note: This API is now obsolete.

*** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection.

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

Syntax

'Declaration
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToVariables ( _
    variables As IDTSVariables100 _
) As Variables
'Usage
Dim variables As IDTSVariables100 
Dim returnValue As Variables 

returnValue = DtsConvert.ToVariables(variables)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Variables ToVariables(
    IDTSVariables100 variables
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static Variables^ ToVariables(
    IDTSVariables100^ variables
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToVariables : 
        variables:IDTSVariables100 -> Variables
public static function ToVariables(
    variables : IDTSVariables100
) : Variables

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Variables
A managed Variables collection.

See Also

Reference

DtsConvert Class

Microsoft.SqlServer.Dts.Runtime Namespace