Freigeben über


IDTSComponentMetaData100.ComponentClassID-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Property ComponentClassID As String 
    Get 
    Set
'Usage
Dim instance As IDTSComponentMetaData100 
Dim value As String 

value = instance.ComponentClassID

instance.ComponentClassID = value
string ComponentClassID { get; set; }
property String^ ComponentClassID {
    String^ get ();
    void set (String^ value);
}
abstract ComponentClassID : string with get, set
function get ComponentClassID () : String 
function set ComponentClassID (value : String)

Eigenschaftswert

Typ: System.String
The CLSID or PROGID of the component represented by the IDTSComponentMetaData100.

Hinweise

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

Beispiele

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

Siehe auch

Verweis

IDTSComponentMetaData100 Schnittstelle

Microsoft.SqlServer.Dts.Pipeline.Wrapper-Namespace