语言

IDTSComponentMetaData100 接口

定义

包含数据流组件的定义,包括自定义属性、输入、输出以及定义在数据流组件上的输入和输出列。

public interface class IDTSComponentMetaData100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100
[System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[<System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
Public Interface IDTSComponentMetaData100
Implements IDTSObject100
派生
属性
实现

注解

描述 IDTSComponentMetaData100 数据流组件的布局。 它包含输入和输出对象、输入和输出列,以及组件的自定义属性。 它还包含识别在设计时和组件执行过程中创建的装配体(DLL)的信息。 通过创建新组件、使用该New方法,或访问类集合MainPipeClass中的ComponentMetaDataCollection现有组件,来获得组件元数据的引用。

属性

名称 说明
AreInputColumnsValid

获得一个值,指示输入列 IDTSComponentMetaData100 是否引用上游组件已有的列。

ComponentClassID

获取或设置由组件元数据描述的组件的CLSID。

ContactInfo

获取或设置组件开发者的联系方式。

CustomPropertyCollection

获取组件暴露的自定义属性集合。

Description

获取或设置组件的描述。

ID

获取或设置组件的标识符。

IdentificationString

获得一个唯一标识组件的字符串。

InputCollection

获取组件的对象集合 IDTSInput100 。

IsDefaultLocale

获得一个值,表示组件所使用的区域是否为该组件执行计算机的默认区域。

LocaleID

获取或设置组件所使用的所在地标识符。

Name

获取或设置组件名称。

ObjectType

获得一个值,表示该组件是数据流组件。

OutputCollection

获取由组件定义的对象集合 IDTSOutput100 。

PipelineVersion

获取或设置组件设计执行的数据流任务版本。

RuntimeConnectionCollection

获取组件的对象集合 IDTSRuntimeConnection100 。

UsesDispositions

获得或设置一个值,指示组件是否使用处分。

ValidateExternalMetadata

获取或设置一个值,指示组件在设计时是否对其列元数据进行外部数据验证。

Version

获取或设置组件的版本。

方法

名称 说明
FireCustomEvent(String, String, Object[], String, Boolean)

由组件定义的自定义事件。

FireError(Int32, String, String, String, Int32, Boolean)

引发事件 OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) 。

FireInformation(Int32, String, String, String, Int32, Boolean)

引发事件 OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) 。

FireProgress(String, Int32, Int32, Int32, String, Boolean)

引发事件 OnProgress(TaskHost, String, Int32, Int32, Int32, String, Boolean) 。

FireWarning(Int32, String, String, String, Int32)

引发事件 OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String) 。

GetComponentView()

获取 IDTSComponentView100 组件接口,支持组件元数据的事务编辑。

GetErrorDescription(Int32)

获得内部集成服务错误代码的描述。

IncrementPipelinePerfCounter(UInt32, UInt32)

递增数据流性能计数器。

Instantiate()

创建由 ComponentClassID 属性指定的组件实例。

PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[])

在包日志中写入一条。

RemoveInvalidInputColumns()

从中IDTSInputColumnCollection100移除无效IDTSInputColumn100对象。

Validate()

调用组件元数据的验证。

适用于