Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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";
component.Instantiate();
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.