Export (0) Print
Expand All

IDTSComponentMetaData100.ComponentClassID Property

Gets or sets the CLSID of a component that is described by the component metadata.

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

string ComponentClassID { get; set; }

Property Value

Type: System.String
The CLSID or PROGID of the component represented by the IDTSComponentMetaData100.

This property indicates the type of component created when the Instantiate method is invoked.

The following code sample shows how this property is used when programmatically adding a component to the data flow task. In this example, the Lookup component is added.

IDTSComponentMetaData100 component = dataflowTask.ComponentMetaDataCollection.New();
component.ComponentClassID = "DTSTransform.Lookup";
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft