DtsConvert.GetWrapper 方法

定义

获取对应于指定的本机对象的托管对象。 (GetWrapper 方法替换 DtsConvert 中的过时 ToXxx 方法。)

重载

GetWrapper(IDTSApplication100)

获取对应于指定的本机 Application 对象的托管 IDTSApplication100 对象。

GetWrapper(IDTSConnectionManager100)

获取对应于指定的本机 ConnectionManager 对象的托管 IDTSConnectionManager100 对象。

GetWrapper(IDTSConnections100)

获取对应于指定的本机 Connections 对象的托管 IDTSConnections100 对象。

GetWrapper(IDTSEvents100)

获取对应于指定的本机 IDTSEvents 对象的托管 IDTSEvents100 对象。

GetWrapper(IDTSPackage100)

获取对应于指定的本机 Package 对象的托管 IDTSPackage100 对象。

GetWrapper(IDTSVariables100)

获取对应于指定的本机 Variables 对象的托管 IDTSVariables100 对象。

注解

GetWrapper使用方法而不是过时的 SQL Server 2005 Integration Services (SSIS) ToXxx 方法。

GetWrapper(IDTSApplication100)

获取对应于指定的本机 Application 对象的托管 IDTSApplication100 对象。

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

参数

iapp
IDTSApplication100

一个本机 IDTSApplication100 对象。

返回

对应于指定的本机 Application 对象的托管 IDTSApplication100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSApplication100) 而不是过时 ToApplication 的方法。

适用于

GetWrapper(IDTSConnectionManager100)

获取对应于指定的本机 ConnectionManager 对象的托管 IDTSConnectionManager100 对象。

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

参数

connMgr
IDTSConnectionManager100

一个本机 IDTSConnectionManager100 对象。

返回

对应于指定的本机 ConnectionManager 对象的托管 IDTSConnectionManager100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSConnectionManager100) 而不是过时 ToConnectionManager 的方法。

适用于

GetWrapper(IDTSConnections100)

获取对应于指定的本机 Connections 对象的托管 IDTSConnections100 对象。

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

参数

connections
IDTSConnections100

一个本机 IDTSConnections100 对象。

返回

对应于指定的本机 Connections 对象的托管 IDTSConnections100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSConnections100) 而不是过时 ToConnections 的方法。

适用于

GetWrapper(IDTSEvents100)

获取对应于指定的本机 IDTSEvents 对象的托管 IDTSEvents100 对象。

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

参数

events
IDTSEvents100

一个本机 IDTSEvents100 对象。

返回

对应于指定的本机 IDTSEvents 对象的托管 IDTSEvents100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSEvents100) 而不是过时 ToEvents 的方法。

适用于

GetWrapper(IDTSPackage100)

获取对应于指定的本机 Package 对象的托管 IDTSPackage100 对象。

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

参数

ipkg
IDTSPackage100

一个本机 IDTSPackage100 对象。

返回

对应于指定的本机 Package 对象的托管 IDTSPackage100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSPackage100) 而不是过时 ToPackage 的方法。

适用于

GetWrapper(IDTSVariables100)

获取对应于指定的本机 Variables 对象的托管 IDTSVariables100 对象。

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

参数

variables
IDTSVariables100

一个本机 IDTSVariables100 对象。

返回

对应于指定的本机 Variables 对象的托管 IDTSVariables100 对象。

注解

使用该方法 Microsoft.SqlServer.Dts.Runtime.DtsConvert.GetWrapper(IDTSVariables100) 而不是过时 ToVariables 的方法。

适用于