共用方式為


IDTSRuntimeComponent100 Interface

Definition

Defines the run-time methods of a data flow component.

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
Derived
Attributes

Remarks

The IDTSRuntimeComponent100 interface defines the methods and properties that are called during execution of a data flow component. This interface is one of the two interfaces that all data flow components implement; the other is the IDTSDesigntimeComponent100 interface.

Managed component developers do not need to implement this interface directly but instead derive the methods from the PipelineComponent base class and override its implementation of these methods.

Properties

BufferManager

Sets the IDTSBufferManager100 of a pipeline component.

ComponentMetaData

Sets the IDTSComponentMetaData100 for a component.

EventInfos

Sets the IDTSEventInfos100 collection of the PipelineComponent object.

LogEntryInfos

Provides the IDTSLogEntryInfos100 object to a component.

ReferenceTracker

Sets the IDTSObjectReferenceTracker100.

RequiredProductLevel

Gets a value indicating the required SQL Server product level for the data flow component.

VariableDispenser

Sets the IDTSVariableDispenser100 of a data flow component.

Methods

Cleanup()

Frees resources and completes the execution of a component.

PerformUpgrade(Int32)

Upgrades the component metadata to the version of the component that is installed on the local computer.

PostExecute()

Called at the end of the execution of a component. The developer can supply code that executes after the component's main processing.

PreExecute()

Called after PrepareForExecute(), and before PrimeOutput(Int32, Int32, IDTSBuffer100) and ProcessInput(Int32, IDTSBuffer100). The developer can supply code that executes once before the component performs its main processing.

PrepareForExecute()

Called prior to PreExecute(). The developer can supply code that executes once before the component performs its main processing and before the input buffers are available.

PrimeOutput(Int32, Int32, IDTSBuffer100)

Called during package execution for components that add rows to the IDTSBuffer100; including source components and transformation components with asynchronous IDTSOutput100 objects. The developer needs to supply the code that adds the rows to the output buffers.

ProcessInput(Int32, IDTSBuffer100)

Called on transformation and destination components that have IDTSInput100 objects that are connected to an upstream component. The developer needs to supply the code that processes the input buffers.

Applies to