IDTSComponentMetaData100.ComponentClassID Property

Definition

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

Property Value

String

IDTSComponentMetaData100所表示的组件的 CLSID 或 PROGID。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