DtsConvert.GetWrapper Method

Definition

Gets the managed object that corresponds to the specified native object. (The GetWrapper methods replace the obsolete ToXxx methods in DtsConvert.)

Overloads

GetWrapper(IDTSApplication100)

Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.

GetWrapper(IDTSConnectionManager100)

Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.

GetWrapper(IDTSConnections100)

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

GetWrapper(IDTSEvents100)

Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.

GetWrapper(IDTSPackage100)

Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.

GetWrapper(IDTSVariables100)

Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.

Remarks

Use the GetWrapper methods instead of the obsolete SQL Server 2005 Integration Services (SSIS) ToXxx methods.

GetWrapper(IDTSApplication100)

Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.

public:
 static Microsoft::SqlServer::Dts::Runtime::Application ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication100 ^ iapp);
public static Microsoft.SqlServer.Dts.Runtime.Application GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSApplication100 iapp);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSApplication100 -> Microsoft.SqlServer.Dts.Runtime.Application
Public Shared Function GetWrapper (iapp As IDTSApplication100) As Application

Parameters

iapp
IDTSApplication100

A native IDTSApplication100 object.

Returns

The managed Application object that corresponds to the specified native IDTSApplication100 object.

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSApplication100) method instead of the obsolete ToApplication method.

Applies to

GetWrapper(IDTSConnectionManager100)

Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.

public:
 static Microsoft::SqlServer::Dts::Runtime::ConnectionManager ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100 ^ connMgr);
public static Microsoft.SqlServer.Dts.Runtime.ConnectionManager GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100 connMgr);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100 -> Microsoft.SqlServer.Dts.Runtime.ConnectionManager
Public Shared Function GetWrapper (connMgr As IDTSConnectionManager100) As ConnectionManager

Parameters

Returns

The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.

Applies to

GetWrapper(IDTSConnections100)

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

public:
 static Microsoft::SqlServer::Dts::Runtime::Connections ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ connections);
public static Microsoft.SqlServer.Dts.Runtime.Connections GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 connections);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 -> Microsoft.SqlServer.Dts.Runtime.Connections
Public Shared Function GetWrapper (connections As IDTSConnections100) As Connections

Parameters

connections
IDTSConnections100

A native IDTSConnections100 object.

Returns

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

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSConnections100) method instead of the obsolete ToConnections method.

Applies to

GetWrapper(IDTSEvents100)

Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.

public:
 static Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ events);
public static Microsoft.SqlServer.Dts.Runtime.IDTSEvents GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 events);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.IDTSEvents
Public Shared Function GetWrapper (events As IDTSEvents100) As IDTSEvents

Parameters

events
IDTSEvents100

A native IDTSEvents100 object.

Returns

The managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSEvents100) method instead of the obsolete ToEvents method.

Applies to

GetWrapper(IDTSPackage100)

Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.

public:
 static Microsoft::SqlServer::Dts::Runtime::Package ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ ipkg);
public static Microsoft.SqlServer.Dts.Runtime.Package GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 ipkg);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 -> Microsoft.SqlServer.Dts.Runtime.Package
Public Shared Function GetWrapper (ipkg As IDTSPackage100) As Package

Parameters

ipkg
IDTSPackage100

A native IDTSPackage100 object.

Returns

The managed Package object that corresponds to the specified native IDTSPackage100 object.

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSPackage100) method instead of the obsolete ToPackage method.

Applies to

GetWrapper(IDTSVariables100)

Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.

public:
 static Microsoft::SqlServer::Dts::Runtime::Variables ^ GetWrapper(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariables100 ^ variables);
public static Microsoft.SqlServer.Dts.Runtime.Variables GetWrapper (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 variables);
static member GetWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 -> Microsoft.SqlServer.Dts.Runtime.Variables
Public Shared Function GetWrapper (variables As IDTSVariables100) As Variables

Parameters

variables
IDTSVariables100

A native IDTSVariables100 object.

Returns

The managed Variables object that corresponds to the specified native IDTSVariables100 object.

Remarks

Use the Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSVariables100) method instead of the obsolete ToVariables method.

Applies to