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

Essa API não é compatível com CLS. 

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
<CLSCompliantAttribute(False)> _
Public NotInheritable Class DtsConvert
'Uso
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

O tipo DtsConvert expõe os membros a seguir.

Construtores

  Nome Descrição
Método público DtsConvert Initializes a new instance of the DtsConvert class.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método públicoMembro estático GetExtendedInterface(Application) Gets the native IDTSApplication100 object that corresponds to the specified managed Application object.
Método públicoMembro estático GetExtendedInterface(ConnectionManager) Gets the native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.
Método públicoMembro estático GetExtendedInterface(Connections) Gets the native IDTSConnections100 object that corresponds to the specified managed Connections object.
Método públicoMembro estático GetExtendedInterface(IDTSComponentEvents) Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Método públicoMembro estático GetExtendedInterface(IDTSEvents) Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
Método públicoMembro estático GetExtendedInterface(IDTSInfoEvents) Gets the native IDTSInfoEvents100 object that corresponds to the specified managed IDTSInfoEvents object.
Método públicoMembro estático GetExtendedInterface(Package) Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.
Método públicoMembro estático GetExtendedInterface(VariableDispenser) Gets the native IDTSVariableDispenser100 object that corresponds to the specified managed VariableDispenser object.
Método públicoMembro estático GetExtendedInterface(Variables) Gets the native IDTSVariables100 object that corresponds to the specified managed Variables object.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método públicoMembro estático GetWrapper(IDTSApplication100) Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.
Método públicoMembro estático GetWrapper(IDTSConnectionManager100) Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Método públicoMembro estático GetWrapper(IDTSConnections100) Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object.
Método públicoMembro estático GetWrapper(IDTSEvents100) Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.
Método públicoMembro estático GetWrapper(IDTSPackage100) Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.
Método públicoMembro estático GetWrapper(IDTSVariables100) Gets the managed Variables object that corresponds to the specified native IDTSVariables100 object.
Método públicoMembro estático ToApplication Obsoleto. *** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object.
Método públicoMembro estático ToApplication90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(Application) method instead. *** Converts a managed Application object to a native IDTSApplication100 object.
Método públicoMembro estático ToComponentEvents90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.
Método públicoMembro estático ToConnectionManager Obsoleto. *** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object.
Método públicoMembro estático ToConnectionManager90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(ConnectionManager) method instead. *** Converts a managed ConnectionManager object to a native IDTSConnectionManager100 object.
Método públicoMembro estático ToConnections Obsoleto. *** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection.
Método públicoMembro estático ToConnections90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(Connections) method instead. *** Converts a managed Connections collection to a native IDTSConnections100 collection.
Método públicoMembro estático ToEvents Obsoleto. *** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
Método públicoMembro estático ToEvents90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(IDTSEvents) method instead. *** Converts a managed IDTSEvents object to a native IDTSEvents100 object.
Método públicoMembro estático ToInfoEvents90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(IDTSInfoEvents) method instead. *** Converts a managed IDTSInfoEvents object to a native IDTSInfoEvents100 object.
Método públicoMembro estático ToPackage Obsoleto. *** Member obsolete; use the GetWrapper(IDTSPackage100) method instead. *** Converts a native IDTSPackage100 object to a managed Package object.
Método públicoMembro estático ToPackage90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.
Método público ToString (Herdado de Object.)
Método públicoMembro estático ToVariableDispenser90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(VariableDispenser) method instead. *** Converts a managed VariableDispenser object to a native IDTSVariableDispenser100 object.
Método públicoMembro estático ToVariables Obsoleto. *** Member obsolete; use the GetWrapper(IDTSVariables100) method instead. *** Converts a native IDTSVariables100 collection to a managed Variables collection.
Método públicoMembro estático ToVariables90 Obsoleto. *** Member obsolete; use the GetExtendedInterface(Variables) method instead. *** Converts a managed Variables collection to a native IDTSVariables100 collection.
Método públicoMembro estático TypeCodeFromVarType Converts a Variant data type to a system TypeCode.
Método públicoMembro estático VarTypeFromTypeCode Converts a system TypeCode to an Integration Services Variant data type.

Início

Comentários

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 Adicionando a tarefa Fluxo de Dados programaticamente.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime