Partager via


Propriété ComponentMetaData

Gets the IDTSComponentMetaData100 for a component.

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public ReadOnly Property ComponentMetaData As IDTSComponentMetaData100
    Get
'Utilisation
Dim instance As PipelineComponent
Dim value As IDTSComponentMetaData100

value = instance.ComponentMetaData
[CLSCompliantAttribute(false)]
public IDTSComponentMetaData100 ComponentMetaData { get; }
[CLSCompliantAttribute(false)]
public:
property IDTSComponentMetaData100^ ComponentMetaData {
    IDTSComponentMetaData100^ get ();
}
[<CLSCompliantAttribute(false)>]
member ComponentMetaData : IDTSComponentMetaData100
function get ComponentMetaData () : IDTSComponentMetaData100

Notes

Components are described and persisted by their ComponentMetaData. In addition to identifying a component by the ComponentClassID property, the metadata contains the collection of IDTSInput100, IDTSOutput100, IDTSInputColumn100 and IDTSOutputColumn100 objects, in addition to any IDTSCustomProperty100 objects defined by the component.

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