CManagedComponentWrapperClass Class

Definition

public ref class CManagedComponentWrapperClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::CManagedComponentWrapper, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSRuntimeComponent100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class CManagedComponentWrapperClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.CManagedComponentWrapper, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSRuntimeComponent100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("33D831DE-5DCF-48F0-B431-4D327B9E785D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FAggregatable | System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type CManagedComponentWrapperClass = class
    interface IDTSDesigntimeComponent100
    interface CManagedComponentWrapper
    interface IDTSRuntimeComponent100
Public Class CManagedComponentWrapperClass
Implements CManagedComponentWrapper, IDTSRuntimeComponent100
Inheritance
CManagedComponentWrapperClass
Attributes
Implements

Examples

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("DTS.Pipeline")).InnerObject as MainPipe;  

IDTSComponentMetaData100 md = mp.ComponentMetaDataCollection.New();  
md.ComponentClassID = "DTSAdapter.OleDbSource";  

CManagedComponentWrapper wrp = md.Instantiate();  

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.

Constructors

CManagedComponentWrapperClass()

Properties

BufferManager
ComponentMetaData
EventInfos
LogEntryInfos
ReferenceTracker
RequiredProductLevel
VariableDispenser

Methods

AcquireConnections(Object)
Cleanup()
DeleteExternalMetadataColumn(Int32, Int32)
DeleteInput(Int32)
DeleteOutput(Int32)
DeleteOutputColumn(Int32, Int32)
DescribeRedirectedErrorCode(Int32)
GetEnumerationCollection(String)
InsertExternalMetadataColumnAt(Int32, Int32, String, String)
InsertInput(DTSInsertPlacement, Int32)
InsertOutput(DTSInsertPlacement, Int32)
InsertOutputColumnAt(Int32, Int32, String, String)
MapInputColumn(Int32, Int32, Int32)
MapOutputColumn(Int32, Int32, Int32, Boolean)
OnDeletingInputColumn(Int32, Int32)
OnInputPathAttached(Int32)
OnInputPathDetached(Int32)
OnOutputPathAttached(Int32)
PerformUpgrade(Int32)
PostExecute()
PreExecute()
PrepareForExecute()
PrimeOutput(Int32, Int32, IDTSBuffer100)
ProcessInput(Int32, IDTSBuffer100)
ProvideComponentProperties()
ReinitializeMetaData()
ReleaseConnections()
SetComponentProperty(String, Object)
SetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetExternalMetadataColumnProperty(Int32, Int32, String, Object)
SetInputColumnProperty(Int32, Int32, String, Object)
SetInputProperty(Int32, String, Object)
SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)
SetOutputColumnProperty(Int32, Int32, String, Object)
SetOutputProperty(Int32, String, Object)
SetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)
Validate()

Applies to

Thread Safety

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