다음을 통해 공유


IDTSComponentMetaData90.ComponentClassID Property

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

네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

구문

‘선언
<DispIdAttribute(101)> _
Property ComponentClassID As String
[DispIdAttribute(101)] 
string ComponentClassID { get; set; }
[DispIdAttribute(101)] 
property String^ ComponentClassID {
    String^ get ();
    void set ([InAttribute] String^ bstrComponentClassID);
}
/** @property */
/** @attribute DispIdAttribute(101) */ 
String get_ComponentClassID ()

/** @property */
/** @attribute DispIdAttribute(101) */ 
void set_ComponentClassID (/** @attribute InAttribute() */ String bstrComponentClassID)
DispIdAttribute(101) 
function get ComponentClassID () : String

DispIdAttribute(101) 
function set ComponentClassID (bstrComponentClassID : String)

속성 값

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

주의

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

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.

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

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace