IDTSComponentMetaData100.ComponentClassID 属性

定义

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

属性值

IDTSComponentMetaData100表示的组件的 CLSID 或 PROGID 表示。

属性

示例

以下代码示例展示了该属性在程序化添加组件到数据流任务时的应用方式。 在这个例子中,增加了查找组件。

IDTSComponentMetaData100 component = dataflowTask.ComponentMetaDataCollection.New();  
component.ComponentClassID = "DTSTransform.Lookup";  
component.Instantiate();  
Dim component As IDTSComponentMetaData100 = dataflowTask.ComponentMetaDataCollection.New   
component.ComponentClassID = "DTSTransform.Lookup"   
component.Instantiate  

注解

该属性表示调用该方法时 Instantiate 创建的组件类型。

适用于