Share via


DtsConvert.GetWrapper Method (IDTSConnections100)

Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object.

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

Syntax

'Declaration
Public Shared Function GetWrapper ( _
    connections As IDTSConnections100 _
) As Connections
'Usage
Dim connections As IDTSConnections100
Dim returnValue As Connections

returnValue = DtsConvert.GetWrapper(connections)
public static Connections GetWrapper(
    IDTSConnections100 connections
)
public:
static Connections^ GetWrapper(
    IDTSConnections100^ connections
)
static member GetWrapper : 
        connections:IDTSConnections100 -> Connections 
public static function GetWrapper(
    connections : IDTSConnections100
) : Connections

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Connections
The managed Connections object that corresponds to the specified native IDTSConnections100 object.

Remarks

Use the DtsConvert.GetWrapper(IDTSConnections100) method instead of the obsolete ToConnections method.