Partager via


Classe 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.

Cette API n'est pas conforme CLS. 

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class DtsConvert
'Utilisation
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

Le type DtsConvert expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DtsConvert Initializes a new instance of the DtsConvert class.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publiqueMembre statique GetExtendedInterface(Application) Gets the native IDTSApplication100 object that corresponds to the specified managed Application object.
Méthode publiqueMembre statique GetExtendedInterface(ConnectionManager) Gets the native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.
Méthode publiqueMembre statique GetExtendedInterface(Connections) Gets the native IDTSConnections100 object that corresponds to the specified managed Connections object.
Méthode publiqueMembre statique GetExtendedInterface(IDTSComponentEvents) Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Méthode publiqueMembre statique GetExtendedInterface(IDTSEvents) Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
Méthode publiqueMembre statique GetExtendedInterface(IDTSInfoEvents) Gets the native IDTSInfoEvents100 object that corresponds to the specified managed IDTSInfoEvents object.
Méthode publiqueMembre statique GetExtendedInterface(Package) Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.
Méthode publiqueMembre statique GetExtendedInterface(VariableDispenser) Gets the native IDTSVariableDispenser100 object that corresponds to the specified managed VariableDispenser object.
Méthode publiqueMembre statique GetExtendedInterface(Variables) Gets the native IDTSVariables100 object that corresponds to the specified managed Variables object.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publiqueMembre statique GetWrapper(IDTSApplication100) Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.
Méthode publiqueMembre statique GetWrapper(IDTSConnectionManager100) Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Méthode publiqueMembre statique GetWrapper(IDTSConnections100) Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object.
Méthode publiqueMembre statique GetWrapper(IDTSEvents100) Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.
Méthode publiqueMembre statique GetWrapper(IDTSPackage100) Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.
Méthode publiqueMembre statique GetWrapper(IDTSVariables100) Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.
Méthode publiqueMembre statique ToApplication Obsolète. *** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object.
Méthode publiqueMembre statique ToApplication90 Obsolète. *** Member obsolete; use the GetExtendedInterface(Application) method instead. *** Converts a managed Application object to a native IDTSApplication100 object.
Méthode publiqueMembre statique ToComponentEvents90 Obsolète. *** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.
Méthode publiqueMembre statique ToConnectionManager Obsolète. *** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object.
Méthode publiqueMembre statique ToConnectionManager90 Obsolète. *** Member obsolete; use the GetExtendedInterface(ConnectionManager) method instead. *** Converts a managed ConnectionManager object to a native IDTSConnectionManager100 object.
Méthode publiqueMembre statique ToConnections Obsolète. *** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection.
Méthode publiqueMembre statique ToConnections90 Obsolète. *** Member obsolete; use the GetExtendedInterface(Connections) method instead. *** Converts a managed Connections collection to a native IDTSConnections100 collection.
Méthode publiqueMembre statique ToEvents Obsolète. *** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
Méthode publiqueMembre statique ToEvents90 Obsolète. *** Member obsolete; use the GetExtendedInterface(IDTSEvents) method instead. *** Converts a managed IDTSEvents object to a native IDTSEvents100 object.
Méthode publiqueMembre statique ToInfoEvents90 Obsolète. *** Member obsolete; use the GetExtendedInterface(IDTSInfoEvents) method instead. *** Converts a managed IDTSInfoEvents object to a native IDTSInfoEvents100 object.
Méthode publiqueMembre statique ToPackage Obsolète. *** Member obsolete; use the GetWrapper(IDTSPackage100) method instead. *** Converts a native IDTSPackage100 object to a managed Package object.
Méthode publiqueMembre statique ToPackage90 Obsolète. *** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.
Méthode publique ToString (hérité de Object.)
Méthode publiqueMembre statique ToVariableDispenser90 Obsolète. *** Member obsolete; use the GetExtendedInterface(VariableDispenser) method instead. *** Converts a managed VariableDispenser object to a native IDTSVariableDispenser100 object.
Méthode publiqueMembre statique ToVariables Obsolète. *** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection.
Méthode publiqueMembre statique ToVariables90 Obsolète. *** Member obsolete; use the GetExtendedInterface(Variables) method instead. *** Converts a managed Variables collection to a native IDTSVariables100 collection.
Méthode publiqueMembre statique TypeCodeFromVarType Converts a Variant data type to a system TypeCode.
Méthode publiqueMembre statique VarTypeFromTypeCode Converts a system TypeCode to an Integration Services Variant data type.

Haut de la page

Notes

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 Ajout de la tâche de flux de données par programme.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime