Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DtsConvert Class

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.

This API is not CLS-compliant. 
System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsConvert

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
[CLSCompliantAttribute(false)]
public sealed class DtsConvert

The DtsConvert type exposes the following members.

  NameDescription
Public methodDtsConvertInitializes a new instance of the DtsConvert class.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetExtendedInterface(Application)Gets the native IDTSApplication100 object that corresponds to the specified managed Application object.
Public methodStatic memberGetExtendedInterface(ConnectionManager)Gets the native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.
Public methodStatic memberGetExtendedInterface(Connections)Gets the native IDTSConnections100 object that corresponds to the specified managed Connections object.
Public methodStatic memberGetExtendedInterface(IDTSComponentEvents)Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Public methodStatic memberGetExtendedInterface(IDTSEvents)Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
Public methodStatic memberGetExtendedInterface(IDTSInfoEvents)Gets the native IDTSInfoEvents100 object that corresponds to the specified managed IDTSInfoEvents object.
Public methodStatic memberGetExtendedInterface(Package)Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.
Public methodStatic memberGetExtendedInterface(VariableDispenser)Gets the native IDTSVariableDispenser100 object that corresponds to the specified managed VariableDispenser object.
Public methodStatic memberGetExtendedInterface(Variables)Gets the native IDTSVariables100 object that corresponds to the specified managed Variables object.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberGetWrapper(IDTSApplication100)Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.
Public methodStatic memberGetWrapper(IDTSConnectionManager100)Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Public methodStatic memberGetWrapper(IDTSConnections100)Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object.
Public methodStatic memberGetWrapper(IDTSEvents100)Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.
Public methodStatic memberGetWrapper(IDTSPackage100)Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.
Public methodStatic memberGetWrapper(IDTSVariables100)Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.
Public methodStatic memberToApplication Obsolete. *** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object.
Public methodStatic memberToApplication90 Obsolete. *** Member obsolete; use the GetExtendedInterface(Application) method instead. *** Converts a managed Application object to a native IDTSApplication100 object.
Public methodStatic memberToComponentEvents90 Obsolete. *** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.
Public methodStatic memberToConnectionManager Obsolete. *** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object.
Public methodStatic memberToConnectionManager90 Obsolete. *** Member obsolete; use the GetExtendedInterface(ConnectionManager) method instead. *** Converts a managed ConnectionManager object to a native IDTSConnectionManager100 object.
Public methodStatic memberToConnections Obsolete. *** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection.
Public methodStatic memberToConnections90 Obsolete. *** Member obsolete; use the GetExtendedInterface(Connections) method instead. *** Converts a managed Connections collection to a native IDTSConnections100 collection.
Public methodStatic memberToEvents Obsolete. *** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
Public methodStatic memberToEvents90 Obsolete. *** Member obsolete; use the GetExtendedInterface(IDTSEvents) method instead. *** Converts a managed IDTSEvents object to a native IDTSEvents100 object.
Public methodStatic memberToInfoEvents90 Obsolete. *** Member obsolete; use the GetExtendedInterface(IDTSInfoEvents) method instead. *** Converts a managed IDTSInfoEvents object to a native IDTSInfoEvents100 object.
Public methodStatic memberToPackage Obsolete. *** Member obsolete; use the GetWrapper(IDTSPackage100) method instead. *** Converts a native IDTSPackage100 object to a managed Package object.
Public methodStatic memberToPackage90 Obsolete. *** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.
Public methodToString (Inherited from Object.)
Public methodStatic memberToVariableDispenser90 Obsolete. *** Member obsolete; use the GetExtendedInterface(VariableDispenser) method instead. *** Converts a managed VariableDispenser object to a native IDTSVariableDispenser100 object.
Public methodStatic memberToVariables Obsolete. *** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection.
Public methodStatic memberToVariables90 Obsolete. *** Member obsolete; use the GetExtendedInterface(Variables) method instead. *** Converts a managed Variables collection to a native IDTSVariables100 collection.
Public methodStatic memberTypeCodeFromVarTypeConverts a Variant data type to a system TypeCode.
Public methodStatic memberVarTypeFromTypeCodeConverts a system TypeCode to an Integration Services Variant data type.
Top

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 Adding the Data Flow Task Programmatically.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.