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。) | |
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. | |
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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。