IDTSComponentMetaData100.ComponentClassID Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.