IDTSComponentMetaData100.ComponentClassID Property

Definition

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

public:
 property System::String ^ ComponentClassID { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.InteropServices.DispId(101)]
public string ComponentClassID { [System.Runtime.InteropServices.DispId(101)] get; [System.Runtime.InteropServices.DispId(101)] set; }
[<System.Runtime.InteropServices.DispId(101)>]
[<get: System.Runtime.InteropServices.DispId(101)>]
[<set: System.Runtime.InteropServices.DispId(101)>]
member this.ComponentClassID : string with get, set
Public Property ComponentClassID As String

Property Value

String

The CLSID or PROGID of the component represented by the IDTSComponentMetaData100.

Attributes

Examples

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();  
Dim component As IDTSComponentMetaData100 = dataflowTask.ComponentMetaDataCollection.New   
component.ComponentClassID = "DTSTransform.Lookup"   
component.Instantiate  

Remarks

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

Applies to