IDTSComponentMetaData100.ComponentClassID 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置由组件元数据描述的组件的 CLSID。
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 创建的组件类型。