DtsConvert 类

Provides conversion methods to convert managed Integation Services run-time objects to their native implementations and from native to managed implementations. This class cannot be inherited.

此 API 不符合 CLS。 

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime..::..DtsConvert

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public NotInheritable Class DtsConvert
用法
Dim instance As DtsConvert
[CLSCompliantAttribute(false)]
public sealed class DtsConvert
[CLSCompliantAttribute(false)]
public ref class DtsConvert sealed
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type DtsConvert =  class end
public final class DtsConvert

DtsConvert 类型公开以下成员。

构造函数

  名称 说明
公共方法 DtsConvert Initializes a new instance of the DtsConvert class.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法静态成员 GetExtendedInterface(Application) Gets the native IDTSApplication100 object that corresponds to the specified managed Application object.
公共方法静态成员 GetExtendedInterface(ConnectionManager) Gets the native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.
公共方法静态成员 GetExtendedInterface(Connections) Gets the native IDTSConnections100 object that corresponds to the specified managed Connections object.
公共方法静态成员 GetExtendedInterface(IDTSComponentEvents) Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
公共方法静态成员 GetExtendedInterface(IDTSEvents) Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
公共方法静态成员 GetExtendedInterface(IDTSInfoEvents) Gets the native IDTSInfoEvents100 object that corresponds to the specified managed IDTSInfoEvents object.
公共方法静态成员 GetExtendedInterface(Package) Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.
公共方法静态成员 GetExtendedInterface(VariableDispenser) Gets the native IDTSVariableDispenser100 object that corresponds to the specified managed VariableDispenser object.
公共方法静态成员 GetExtendedInterface(Variables) Gets the native IDTSVariables100 object that corresponds to the specified managed Variables object.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 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.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法静态成员 ToApplication 已过时。*** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object.
公共方法静态成员 ToApplication90 已过时。*** Member obsolete; use the GetExtendedInterface(Application) method instead. *** Converts a managed Application object to a native IDTSApplication100 object.
公共方法静态成员 ToComponentEvents90 已过时。*** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.
公共方法静态成员 ToConnectionManager 已过时。*** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object.
公共方法静态成员 ToConnectionManager90 已过时。*** Member obsolete; use the GetExtendedInterface(ConnectionManager) method instead. *** Converts a managed ConnectionManager object to a native IDTSConnectionManager100 object.
公共方法静态成员 ToConnections 已过时。*** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection.
公共方法静态成员 ToConnections90 已过时。*** Member obsolete; use the GetExtendedInterface(Connections) method instead. *** Converts a managed Connections collection to a native IDTSConnections100 collection.
公共方法静态成员 ToEvents 已过时。*** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
公共方法静态成员 ToEvents90 已过时。*** Member obsolete; use the GetExtendedInterface(IDTSEvents) method instead. *** Converts a managed IDTSEvents object to a native IDTSEvents100 object.
公共方法静态成员 ToInfoEvents90 已过时。*** Member obsolete; use the GetExtendedInterface(IDTSInfoEvents) method instead. *** Converts a managed IDTSInfoEvents object to a native IDTSInfoEvents100 object.
公共方法静态成员 ToPackage 已过时。*** Member obsolete; use the GetWrapper(IDTSPackage100) method instead. *** Converts a native IDTSPackage100 object to a managed Package object.
公共方法静态成员 ToPackage90 已过时。*** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.
公共方法 ToString (从 Object 继承。)
公共方法静态成员 ToVariableDispenser90 已过时。*** Member obsolete; use the GetExtendedInterface(VariableDispenser) method instead. *** Converts a managed VariableDispenser object to a native IDTSVariableDispenser100 object.
公共方法静态成员 ToVariables 已过时。*** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection.
公共方法静态成员 ToVariables90 已过时。*** Member obsolete; use the GetExtendedInterface(Variables) method instead. *** Converts a managed Variables collection to a native IDTSVariables100 collection.
公共方法静态成员 TypeCodeFromVarType Converts a Variant data type to a system TypeCode.
公共方法静态成员 VarTypeFromTypeCode Converts a system TypeCode to an Integration Services Variant data type.

页首

注释

Use this class to interface the managed run-time object model with other objects that consume native run-time objects, such as the Data Flow task. The DtsConvert class provides conversions for types such as Connections, ConnectionManager, Package, Variables, and VariableDispenser, and for converting between VarTypes and TypeCodes. For more information about the Data Flow task, see 以编程方式添加数据流任务.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。