ScriptComponentHost 类

定义

DTS流水线组件,负责从托管提供者获取记录。

public ref class ScriptComponentHost : Microsoft::SqlServer::Dts::Pipeline::PipelineComponent, Microsoft::SqlServer::Dts::Pipeline::IVSTAScriptComponentUI
[Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=10, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class ScriptComponentHost : Microsoft.SqlServer.Dts.Pipeline.PipelineComponent, Microsoft.SqlServer.Dts.Pipeline.IVSTAScriptComponentUI
[Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=11, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class ScriptComponentHost : Microsoft.SqlServer.Dts.Pipeline.PipelineComponent, Microsoft.SqlServer.Dts.Pipeline.IVSTAScriptComponentUI
[Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=12, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class ScriptComponentHost : Microsoft.SqlServer.Dts.Pipeline.PipelineComponent, Microsoft.SqlServer.Dts.Pipeline.IVSTAScriptComponentUI
[<Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=10, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type ScriptComponentHost = class
    inherit PipelineComponent
    interface IVSTAScriptComponentUI
[<Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=11, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type ScriptComponentHost = class
    inherit PipelineComponent
    interface IVSTAScriptComponentUI
[<Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponent(ComponentType=Microsoft.SqlServer.Dts.Pipeline.ComponentType.Transform, CurrentVersion=12, HelpKeyword="sql13.dts.designer.scriptcomponentdetails.f1", IconResource="Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.ico", LocalizationType=typeof(Microsoft.SqlServer.Dts.Pipeline.Localized), SamplesTag="SsisScriptComponentTransform", UITypeName="Microsoft.DataTransformationServices.DataFlowUI.ScriptUI, Microsoft.DatatransformationServices.DataFlowUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type ScriptComponentHost = class
    inherit PipelineComponent
    interface IVSTAScriptComponentUI
Public Class ScriptComponentHost
Inherits PipelineComponent
Implements IVSTAScriptComponentUI
继承
ScriptComponentHost
属性
实现

构造函数

名称 说明
ScriptComponentHost()

DTS流水线组件,负责从托管提供者获取记录。

属性

名称 说明
BufferManager

获取 IDTSBufferManager100 管道组件的

(继承自 PipelineComponent)
ComponentMetaData

为某个组件获得 。IDTSComponentMetaData100

(继承自 PipelineComponent)
CurrentScriptingEngine

DTS流水线组件,负责从托管提供者获取记录。

ErrorSupport

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

(继承自 PipelineComponent)
EventInfos

获取 IDTSEventInfos100 该物品的集合 PipelineComponent

(继承自 PipelineComponent)
LogEntryInfos

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

(继承自 PipelineComponent)
ProjectTemplatePath

DTS流水线组件,负责从托管提供者获取记录。

ReferenceTracker

获取与组件相关的内容 IDTSObjectReferenceTracker100

(继承自 PipelineComponent)
VariableDispenser

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

(继承自 PipelineComponent)

方法

名称 说明
AcquireConnections(Object)

DTS流水线组件,负责从托管提供者获取记录。

AddErrorOutput(String, Int32, Int32)

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

(继承自 PipelineComponent)
Cleanup()

DTS流水线组件,负责从托管提供者获取记录。

CloseIDE()

DTS流水线组件,负责从托管提供者获取记录。

CreateNewProject(String, Boolean, Boolean)

DTS流水线组件,负责从托管提供者获取记录。

DeleteExternalMetadataColumn(Int32, Int32)

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

(继承自 PipelineComponent)
DeleteInput(Int32)

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

(继承自 PipelineComponent)
DeleteOutput(Int32)

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

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

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

(继承自 PipelineComponent)
DescribeRedirectedErrorCode(Int32)

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

(继承自 PipelineComponent)
GetBinaryCode(String)

DTS流水线组件,负责从托管提供者获取记录。

GetDependentInputs(Int32)

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

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

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

(继承自 PipelineComponent)
GetUniqueVSTAProjectName()

DTS流水线组件,负责从托管提供者获取记录。

Initialize()

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

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

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

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

DTS流水线组件,负责从托管提供者获取记录。

InsertOutput(DTSInsertPlacement, Int32)

DTS流水线组件,负责从托管提供者获取记录。

InsertOutputColumnAt(Int32, Int32, String, String)

DTS流水线组件,负责从托管提供者获取记录。

IsInputReady(Int32[], Boolean[])

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

(继承自 PipelineComponent)
LoadScriptFromComponent()

从组件自定义属性集合加载脚本代码和二进制文件,并将其存储到脚本存储中

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)

DTS流水线组件,负责从托管提供者获取记录。

PerformUpgrade(Int32)

DTS流水线组件,负责从托管提供者获取记录。

PostExecute()

DTS流水线组件,负责从托管提供者获取记录。

PreExecute()

DTS流水线组件,负责从托管提供者获取记录。

PrepareForExecute()

DTS流水线组件,负责从托管提供者获取记录。

PrimeOutput(Int32, Int32[], PipelineBuffer[])

DTS流水线组件,负责从托管提供者获取记录。

ProcessInput(Int32, PipelineBuffer)

DTS流水线组件,负责从托管提供者获取记录。

ProvideComponentProperties()

DTS流水线组件,负责从托管提供者获取记录。

PutBinaryCode(String, Byte[])

DTS流水线组件,负责从托管提供者获取记录。

PutSourceCode(String, String, String)

DTS流水线组件,负责从托管提供者获取记录。

RegisterEvents()

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

(继承自 PipelineComponent)
RegisterLogEntries()

DTS流水线组件,负责从托管提供者获取记录。

ReinitializeMetaData()

修复在验证过程中发现的任何错误,导致元件在设计时返回 VS_NEEDSNEWMETADATA

(继承自 PipelineComponent)
ReleaseConnections()

DTS流水线组件,负责从托管提供者获取记录。

RemoveAllInputsOutputsAndCustomProperties()

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

(继承自 PipelineComponent)
SaveScriptProject()

DTS流水线组件,负责从托管提供者获取记录。

SetComponentProperty(String, Object)

DTS流水线组件,负责从托管提供者获取记录。

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)

DTS流水线组件,负责从托管提供者获取记录。

SetOutputColumnProperty(Int32, Int32, String, Object)

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

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

设置对象的IDTSCustomProperty100IDTSOutput100值。

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

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

(继承自 PipelineComponent)
ShowIDE()

DTS流水线组件,负责从托管提供者获取记录。

Validate()

DTS流水线组件,负责从托管提供者获取记录。

适用于