Udostępnij przez


DtsConvert.GetWrapper Method (IDTSVariables100)

Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object. This method is not CLS-compliant.

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

Syntax

'Deklaracja
Public Shared Function GetWrapper ( _
    variables As IDTSVariables100 _
) As Variables
public static Variables GetWrapper (
    IDTSVariables100 variables
)
public:
static Variables^ GetWrapper (
    IDTSVariables100^ variables
)
public static Variables GetWrapper (
    IDTSVariables100 variables
)
public static function GetWrapper (
    variables : IDTSVariables100
) : Variables

Parameters

Return Value

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.

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.