Compartilhar via


Método DtsConvert.ToVariables

Observação: essa API está obsoleta.

*** 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 (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToVariables ( _
    variables As IDTSVariables100 _
) As Variables
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

DtsConvert Classe

Namespace Microsoft.SqlServer.Dts.Runtime