Sdílet prostřednictvím


IDTSRuntimeComponent100.ComponentMetaData Property

Sets the IDTSComponentMetaData100 for a component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
WriteOnly Property ComponentMetaData As IDTSComponentMetaData100
    Set
'Usage
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)

Remarks

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.