Udostępnij przez


DtsConvert.ToVariables Method

NOTE: This method is now obsolete.

*** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection. This method is not CLS-compliant.

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

Syntax

'Deklaracja
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToVariables ( _
    variables As IDTSVariables100 _
) As 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
)
/** @attribute ObsoleteAttribute("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.") 
public static function ToVariables (
    variables : IDTSVariables100
) : Variables

Parameters

Return Value

A managed Variables collection.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.