CManagedComponentWrapperClass Class
Represents the design-time instance of a data flow component.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Syntax
'Deklaracja
<GuidAttribute("2E42D45B-F83C-400F-8D77-61DDE6A7DF29")> _
<TypeLibTypeAttribute(1026)> _
<ClassInterfaceAttribute(0)> _
Public Class CManagedComponentWrapperClass
Implements IDTSDesigntimeComponent100, CManagedComponentWrapper, IDTSRuntimeComponent100
[GuidAttribute("2E42D45B-F83C-400F-8D77-61DDE6A7DF29")]
[TypeLibTypeAttribute(1026)]
[ClassInterfaceAttribute(0)]
public class CManagedComponentWrapperClass : IDTSDesigntimeComponent100, CManagedComponentWrapper, IDTSRuntimeComponent100
[GuidAttribute(L"2E42D45B-F83C-400F-8D77-61DDE6A7DF29")]
[TypeLibTypeAttribute(1026)]
[ClassInterfaceAttribute(0)]
public ref class CManagedComponentWrapperClass : IDTSDesigntimeComponent100, CManagedComponentWrapper, IDTSRuntimeComponent100
/** @attribute GuidAttribute("2E42D45B-F83C-400F-8D77-61DDE6A7DF29") */
/** @attribute TypeLibTypeAttribute(1026) */
/** @attribute ClassInterfaceAttribute(0) */
public class CManagedComponentWrapperClass implements IDTSDesigntimeComponent100, CManagedComponentWrapper,
IDTSRuntimeComponent100
GuidAttribute("2E42D45B-F83C-400F-8D77-61DDE6A7DF29")
TypeLibTypeAttribute(1026)
ClassInterfaceAttribute(0)
public class CManagedComponentWrapperClass implements IDTSDesigntimeComponent100, CManagedComponentWrapper,
IDTSRuntimeComponent100
Remarks
The CManagedComponentWrapperClass represents the design-time instance of a data flow component and is the object that is used when programmatically modifying a component in a data flow task. The methods of this class are defined by the IDTSDesigntimeComponent100 interface and are used to modify the properties and collections component. The CManagedComponentWrapper interface is returned when the Instantiate method of the IDTSComponentMetaData100 interface of the component is called. This interface can be cast to an instance of the CManagedComponentWrapperClass but there are no advantages to doing this Therefore, typically this class is not used.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass
Example
The following code example adds a component to a data flow task and retrieves an instance of the CManagedComponentWrapper interface by calling the Instantiate method.
Package p = new Package();
MainPipe mp = ((TaskHost)p.Executables.Add("SSIS.Pipeline.2")).InnerObject as MainPipe;
IDTSComponentMetaData100 md = mp.ComponentMetaDataCollection.New();
md.ComponentClassID = "DTSAdapter.OleDbSource";
CManagedComponentWrapper wrp = md.Instantiate();
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.