语言

PipelineComponentSource 类

定义

重要

此 API 不符合 CLS。

public ref class PipelineComponentSource abstract : Microsoft::SqlServer::Dts::Pipeline::PipelineComponentExt
[System.CLSCompliant(false)]
public abstract class PipelineComponentSource : Microsoft.SqlServer.Dts.Pipeline.PipelineComponentExt
[<System.CLSCompliant(false)>]
type PipelineComponentSource = class
    inherit PipelineComponentExt
Public MustInherit Class PipelineComponentSource
Inherits PipelineComponentExt
继承
属性

构造函数

名称 说明
PipelineComponentSource()

属性

名称 说明
BufferManager

获取 IDTSBufferManager100 管道组件的

(继承自 PipelineComponent)
ComponentMetaData

为某个组件获得 。IDTSComponentMetaData100

(继承自 PipelineComponent)
ErrorSupport

返回一个 ErrorSupport 对象,允许组件根据集成服务组件用本地代码编写的 HRESULTS 提出错误、警告或其他信息事件。

(继承自 PipelineComponent)
EventInfos

获取 IDTSEventInfos100 该物品的集合 PipelineComponent

(继承自 PipelineComponent)
LogEntryInfos

获取 IDTSLogEntryInfos100 组件已注册的日志事件集合。

(继承自 PipelineComponent)
ReferenceTracker

获取与组件相关的内容 IDTSObjectReferenceTracker100

(继承自 PipelineComponent)
VariableDispenser

获取 IDTSVariableDispenser100 数据流部分的部分。

(继承自 PipelineComponent)

方法

名称 说明
AcquireConnections(Object)

建立连接到连接管理器的连接。

(继承自 PipelineComponent)
AddDataOutput()
AddErrorOutput()
AddErrorOutput(String, Int32, Int32)

添加一个 IDTSOutput100 对象,并通过将属性设置为 IsErrorOut true,标记为错误输出。

(继承自 PipelineComponent)
Cleanup()

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

(继承自 PipelineComponent)
ConvertDataRecordTypeToBufferType(Type) (继承自 PipelineComponentExt)
CreateColumnInfoFromDtsType(String, DataType, DataRow) (继承自 PipelineComponentExt)
CreateColumnsFromSchemaTable(DataTable, IDTSOutput100, IDTSOutput100) (继承自 PipelineComponentExt)
CreateComponentProperty(String, String, Object, Boolean)

为组件添加一个新属性

(继承自 PipelineComponentExt)
CreateExternalMetadataColumn(IDTSExternalMetadataColumnCollection100, ColumnInformation) (继承自 PipelineComponentExt)
CreateOutput(String) (继承自 PipelineComponentExt)
CreateOutputColumn(IDTSOutput100, ColumnInformation) (继承自 PipelineComponentExt)
CreateOutputColumns(IEnumerable<ColumnInformation>, IDTSOutput100) (继承自 PipelineComponentExt)
DeleteExternalMetadataColumn(Int32, Int32)

从外部元数据列集合中删除指定索引处的外部元数据列。

(继承自 PipelineComponent)
DeleteInput(Int32)

从集合中删除一个 IDTSInput100 对象 IDTSInputCollection100

(继承自 PipelineComponent)
DeleteOutput(Int32)

从集合中删除一个 IDTSOutput100 对象 IDTSOutputCollection100

(继承自 PipelineComponent)
DeleteOutputColumn(Int32, Int32)

从集合中删除一个 IDTSOutputColumn100 对象 IDTSOutputColumnCollection100

(继承自 PipelineComponent)
DescribeRedirectedErrorCode(Int32)

为添加到输出缓冲区的行提供错误代码信息 PipelineBuffer

(继承自 PipelineComponent)
GetComponentVersion() (继承自 PipelineComponentExt)
GetDependentInputs(Int32)

返回一组等待更多数据、因此阻塞指定输入的输入 ID。

(继承自 PipelineComponent)
GetErrorOutputInfo(Int32, Int32)

返回组件错误输出的索引和ID。

(继承自 PipelineComponent)
GetExternalTabularSourceReader()
GetExternalTabularSourceSchema()
GetMetadataValuesFromRow(DataRow) (继承自 PipelineComponentExt)
GetPropertyValue<T>(String) (继承自 PipelineComponentExt)
Initialize()

当在派生类中被覆盖时,初始化了自定义数据流组件的新实例。

(继承自 PipelineComponent)
InsertExternalMetadataColumnAt(Int32, Int32, String, String)

在指定索引处向外部元数据列集合插入一个新的外部元数据列。

(继承自 PipelineComponent)
InsertInput(DTSInsertPlacement, Int32)

将对象IDTSInput100添加到 .IDTSInputCollection100

(继承自 PipelineComponent)
InsertOutput(DTSInsertPlacement, Int32)

添加一个新 IDTSOutput100 对象

(继承自 PipelineComponent)
InsertOutputColumnAt(Int32, Int32, String, String)

创建一个新 IDTSOutputColumn100 对象并将其插入 IDTSOutputColumnCollection100

(继承自 PipelineComponent)
IsInputReady(Int32[], Boolean[])

确定连接到组件的输入中哪些正在等待更多数据,哪些有足够的数据需要处理而被阻塞。

(继承自 PipelineComponent)
MapInputColumn(Int32, Int32, Int32)

建立输入列与对应外部元数据列之间的关系。

(继承自 PipelineComponent)
MapOutputColumn(Int32, Int32, Int32, Boolean)

建立输出列与对应外部元数据列之间的关系。

(继承自 PipelineComponent)
OnDeletingInputColumn(Int32, Int32)

删除 IDTSInputColumn100 的对象。IDTSInputColumnCollection100

(继承自 PipelineComponent)
OnInputPathAttached(Int32)

IDTSInput100 对象通过接口连接到组件 IDTSPath100 时调用。

(继承自 PipelineComponent)
OnInputPathDetached(Int32)

IDTSInput100 对象通过接口与组件 IDTSPath100 断开连接时被调用。

(继承自 PipelineComponent)
OnOutputPathAttached(Int32)

IDTSOutput100 组件的对象被连接到下游组件时调用。

(继承自 PipelineComponent)
PerformDowngrade(Int32, DTSTargetServerVersion)

默认情况下,PerformDowngrade不应抛出ComponentDowngradeFailedException,因为运行时只能通过targetServerVersion决定是否调用该方法;它无法检查组件版本,因为它不知道组件版本是否在两个SSIS版本之间被更改,而PerformUpgrade方法会在调用前检查包XML中的组件版本是否小于当前组件版本。

(继承自 PipelineComponent)
PerformUpgrade(Int32)

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

(继承自 PipelineComponent)
PostDiagnostic(String) (继承自 PipelineComponentExt)
PostError(Exception) (继承自 PipelineComponentExt)
PostError(Int32, Object[]) (继承自 PipelineComponentExt)
PostError(String, Object[]) (继承自 PipelineComponentExt)
PostExecute()

在组件执行结束时调用,但在 Cleanup()之前。

(继承自 PipelineComponent)
PostWarning(String, Object[]) (继承自 PipelineComponentExt)
PreExecute()

分别在 PrepareForExecute()、 和 PrimeOutput(Int32, Int32[], PipelineBuffer[])ProcessInput(Int32, PipelineBuffer)之前 和 。

(继承自 PipelineComponent)
PrepareForExecute()

之前 PreExecute()打过电话。

(继承自 PipelineComponent)
PrimeOutput(Int32, Int32[], PipelineBuffer[])

运行时调用源组件和异步输出的转换组件,使这些组件向输出缓冲区添加行。

(继承自 PipelineComponent)
ProcessInput(Int32, PipelineBuffer)

当上游组件的 a PipelineBuffer 可用时调用,让组件处理输入行。

(继承自 PipelineComponent)
ProvideComponentProperties()

当组件首次添加到数据流任务时调用,以初始化 ComponentMetaData 该组件。

(继承自 PipelineComponent)
RegisterEvents()

当你开发自定义数据流组件时,你会覆盖此方法来创建自定义事件。

(继承自 PipelineComponent)
RegisterLogEntries()

记录组件将要记录的事件。

(继承自 PipelineComponent)
ReinitializeMetaData()
ReleaseConnections()

释放在 期间 AcquireConnections(Object)建立的连接。 设计时和运行时都被调用。

(继承自 PipelineComponent)
RemoveAllInputsOutputsAndCustomProperties()

从组件中删除每个 IDTSInput100IDTSOutput100 对象。

(继承自 PipelineComponent)
SetComponentProperty(String, Object)

为组件的 a IDTSCustomProperty100 赋予一个值。

(继承自 PipelineComponent)
SetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

设置指定外部元数据列的数据类型属性。

(继承自 PipelineComponent)
SetExternalMetadataColumnProperty(Int32, Int32, String, Object)

设置外部元数据列的单个属性。

(继承自 PipelineComponent)
SetInputColumnProperty(Int32, Int32, String, Object)

为对象的值IDTSCustomProperty100IDTSInputColumn100赋予一个值。

(继承自 PipelineComponent)
SetInputProperty(Int32, String, Object)

为对象的值IDTSCustomProperty100IDTSInput100赋予一个值。

(继承自 PipelineComponent)
SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

设置对象的数据 IDTSOutputColumn100 类型属性。

(继承自 PipelineComponent)
SetOutputColumnProperty(Int32, Int32, String, Object)

为一个IDTSCustomProperty100对象设置 a IDTSOutputColumn100 值。

(继承自 PipelineComponent)
SetOutputProperty(Int32, String, Object)

设置对象的IDTSCustomProperty100IDTSOutput100值。

(继承自 PipelineComponent)
SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)

在组件的 中IDTSInputColumn100创建一个IDTSInputColumnCollection100对象,并设置UsageType列的属性。

(继承自 PipelineComponent)
Transfer(PipelineBuffer, IDataReader, Int32, MappedColumnInfo) (继承自 PipelineComponentExt)
TransferToOutputBuffers(Int32, Int32[], PipelineBuffer[])
Validate()

验证组件配置正确。

(继承自 PipelineComponent)
ValidateExternalMetadata(DataTable, IDTSOutput100) (继承自 PipelineComponentExt)

适用于