共用方式為


ComponentMetaData 屬性

Sets the IDTSComponentMetaData100 for a component.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
WriteOnly Property ComponentMetaData As IDTSComponentMetaData100
    Set
'用途
Dim instance As IDTSRuntimeComponent100
Dim value As IDTSComponentMetaData100

instance.ComponentMetaData = value
IDTSComponentMetaData100 ComponentMetaData { set; }
property IDTSComponentMetaData100^ ComponentMetaData {
    void set (IDTSComponentMetaData100^ value);
}
abstract ComponentMetaData : IDTSComponentMetaData100 with get, set
function set ComponentMetaData (value : IDTSComponentMetaData100)

備註

Components are described and persisted by their ComponentMetaData. Component metadata serves to identify the component through the ComponentClassID property. The metadata also contains the collection of IDTSInput100, IDTSOutput100, IDTSInputColumn100, and IDTSOutputColumn100 objects, and any IDTSCustomProperty100 objects defined by the component.

During package design, the ComponentMetaData is modified, validated, and finally persisted in the package XML.