CManagedComponentWrapperClass 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class CManagedComponentWrapperClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::CManagedComponentWrapper, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type CManagedComponentWrapperClass = class
interface IDTSDesigntimeComponent100
interface CManagedComponentWrapper
interface IDTSRuntimeComponent100
Public Class CManagedComponentWrapperClass
Implements CManagedComponentWrapper, IDTSRuntimeComponent100
- 继承
-
CManagedComponentWrapperClass
- 属性
- 实现
示例
下面的代码示例将组件添加到数据流任务,并通过调用 Instantiate 方法检索 CManagedComponentWrapper 接口的实例。
Package p = new Package();
MainPipe mp = ((TaskHost)p.Executables.Add("DTS.Pipeline")).InnerObject as MainPipe;
IDTSComponentMetaData100 md = mp.ComponentMetaDataCollection.New();
md.ComponentClassID = "DTSAdapter.OleDbSource";
CManagedComponentWrapper wrp = md.Instantiate();
注解
CManagedComponentWrapperClass 表示数据流组件的设计时实例,是以编程方式修改数据流任务中的组件时使用的对象。 此类的方法由 IDTSDesigntimeComponent100 接口定义,用于修改属性和集合组件。 调用组件接口的 IDTSComponentMetaData100 实例化方法时,将返回 CManagedComponentWrapper 接口。 此接口可以强制转换为 CManagedComponentWrapperClass 的实例,但这样做没有好处,因此,通常不使用此类。
构造函数
CManagedComponentWrapperClass() |
属性
BufferManager | |
ComponentMetaData | |
EventInfos | |
LogEntryInfos | |
ReferenceTracker | |
RequiredProductLevel | |
VariableDispenser |
方法
适用于
线程安全性
Visual Basic 中 共享 的任何公共静态 () 此类型的成员都是线程安全的。 但不保证所有实例成员都是线程安全的。