IDTSRuntimeComponent100 接口

定义

定义数据流组件的运行时方法。

public interface class IDTSRuntimeComponent100
[System.Runtime.InteropServices.Guid("994367B9-F369-47F1-B38C-D97CA9C54277")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSRuntimeComponent100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("C9F4699B-84DF-4699-A7C8-60AE87195ADE")]
public interface IDTSRuntimeComponent100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("2E079605-FD96-4627-9C1D-38F7FE8CBADC")]
public interface IDTSRuntimeComponent100
[<System.Runtime.InteropServices.Guid("994367B9-F369-47F1-B38C-D97CA9C54277")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSRuntimeComponent100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("C9F4699B-84DF-4699-A7C8-60AE87195ADE")>]
type IDTSRuntimeComponent100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("2E079605-FD96-4627-9C1D-38F7FE8CBADC")>]
type IDTSRuntimeComponent100 = interface
Public Interface IDTSRuntimeComponent100
派生
属性

注解

IDTSRuntimeComponent100 接口定义了在数据流组件执行过程中调用的方法和属性。 该接口是所有数据流组件实现的两种接口之一;另一个是 IDTSDesigntimeComponent100 界面。

托管组件开发者无需直接实现该接口,而是从基类中派生方法 PipelineComponent 并覆盖其对这些方法的实现。

属性

名称 说明
BufferManager

设置流水线组件的 。IDTSBufferManager100

ComponentMetaData

为一个组件设置 。IDTSComponentMetaData100

EventInfos

设置 IDTSEventInfos100 对象的 PipelineComponent 集合。

LogEntryInfos

为组件提供 IDTSLogEntryInfos100 对象。

ReferenceTracker

设置 .IDTSObjectReferenceTracker100

RequiredProductLevel

获得一个值,表示数据流组件所需的 SQL Server 产品级别。

VariableDispenser

设置数据流组件的 。IDTSVariableDispenser100

方法

名称 说明
Cleanup()

释放资源并完成组件的执行。

PerformUpgrade(Int32)

将组件元数据升级为本地计算机上安装的组件版本。

PostExecute()

在组件执行结束时调用。 开发者可以提供在组件主处理后执行的代码。

PreExecute()

分别在 PrepareForExecute()、 和 PrimeOutput(Int32, Int32, IDTSBuffer100)ProcessInput(Int32, IDTSBuffer100)之前 和 。 开发者可以提供代码,在组件执行主处理前执行一次。

PrepareForExecute()

PreExecute()之前被打过。 开发者可以提供代码,在组件进行主处理前且输入缓冲区可用之前执行一次。

PrimeOutput(Int32, Int32, IDTSBuffer100)

在包执行时调用,用于向 ;添加行的 IDTSBuffer100组件;包括源组件和带有异步 IDTSOutput100 对象的转换组件。 开发者需要提供将行添加到输出缓冲区的代码。

ProcessInput(Int32, IDTSBuffer100)

调用具有 IDTSInput100 对象连接到上游组件的转换和目的组件。 开发者需要提供处理输入缓冲区的代码。

适用于