Export (0) Print
Expand All

CManagedComponentWrapperClass Class

 

Applies To: SQL Server 2016 Preview

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)

System.Object
  Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass

[TypeLibTypeAttribute(TypeLibTypeFlags.FCanCreate | TypeLibTypeFlags.FAggregatable)]
[GuidAttribute("33D831DE-5DCF-48F0-B431-4D327B9E785D")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class CManagedComponentWrapperClass : IDTSDesigntimeComponent100, 
	CManagedComponentWrapper, IDTSRuntimeComponent100

NameDescription
System_CAPS_pubmethodCManagedComponentWrapperClass()

Instantiates an instance of the CManagedComponentWrapperClass object.

NameDescription
System_CAPS_pubpropertyBufferManager

Sets the IDTSBufferManager100 object of the component.

System_CAPS_pubpropertyComponentMetaData

Sets the IDTSComponentMetaData100 object for the component

System_CAPS_pubpropertyEventInfos

Sets the IDTSEventInfos100 collection that is associated with the component.

System_CAPS_pubpropertyLogEntryInfos

Gets the IDTSLogEntryInfos100 object to the component.

System_CAPS_pubpropertyReferenceTracker

Sets the IDTSObjectReferenceTracker100 object that is associated with the component.

System_CAPS_pubpropertyRequiredProductLevel

Gets a value that indicates which edition of SQL Server the data flow component requires.

System_CAPS_pubpropertyVariableDispenser

Sets the IDTSVariableDispenser100 object that is associated with the component.

NameDescription
System_CAPS_pubmethodAcquireConnections(Object)

Establishes a connection to a connection manager.

System_CAPS_pubmethodCleanup()

Frees resources and cleans up after the component runs.

System_CAPS_pubmethodDeleteExternalMetadataColumn(Int32, Int32)

Deletes the external metadata column at the specified index from the collection of external metadata columns.

System_CAPS_pubmethodDeleteInput(Int32)

Deletes an IDTSInput100 object from the IDTSInputCollection100 collection.

System_CAPS_pubmethodDeleteOutput(Int32)

Deletes an IDTSOutput100 object from the IDTSOutputCollection100 collection of the component.

System_CAPS_pubmethodDeleteOutputColumn(Int32, Int32)

Deletes an IDTSOutputColumn100 object from the IDTSOutputColumnCollection100 collection of the component.

System_CAPS_pubmethodDescribeRedirectedErrorCode(Int32)

Returns the description of an error code defined by the component.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerationCollection(String)

Returns the IDTSFriendlyEnumCollection100 of a component.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInsertExternalMetadataColumnAt(Int32, Int32, String, String)

Inserts a new external metadata column into the collection of external metadata columns at the specified index.

System_CAPS_pubmethodInsertInput(DTSInsertPlacement, Int32)

Adds an IDTSInput100 object to the IDTSInputCollection100 of the component.

System_CAPS_pubmethodInsertOutput(DTSInsertPlacement, Int32)

Adds a new IDTSOutput100 object to the component.

System_CAPS_pubmethodInsertOutputColumnAt(Int32, Int32, String, String)

Creates a new IDTSOutputColumn100 object and inserts it into the IDTSOutputColumnCollection100 of the component.

System_CAPS_pubmethodMapInputColumn(Int32, Int32, Int32)

Establishes a relationship between an input column and a corresponding external metadata column.

System_CAPS_pubmethodMapOutputColumn(Int32, Int32, Int32, Boolean)

Establishes a relationship between an IDTSOutputColumn100 column and a corresponding IDTSExternalMetadataColumn100 column.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOnDeletingInputColumn(Int32, Int32)

Called when an IDTSInputColunn100 object is being deleted from an IDTSInputColumnCollection100 of the component.

System_CAPS_pubmethodOnInputPathAttached(Int32)

Called when an IDTSInput100 object of the component is attached to a downstream component.

System_CAPS_pubmethodOnInputPathDetached(Int32)

Called when the IDTSInput100 object of the component is disconnected from an upstream component.

System_CAPS_pubmethodOnOutputPathAttached(Int32)

Called when an IDTSOutput100 object of the component is attached to a downstream component.

System_CAPS_pubmethodPerformUpgrade(Int32)

Upgrades the metadata of the component to the version of the component that is installed on the local computer.

System_CAPS_pubmethodPostExecute()

Does the tasks that have to be done after the component has finished processing rows of data.

System_CAPS_pubmethodPreExecute()

Does the tasks that have to be done after the PrepareForExecute method runs, but before the component begins to process rows of data.

System_CAPS_pubmethodPrepareForExecute()

Does the tasks that have to be done both before the component begins to process rows of data and before the PreExecute method runs.

System_CAPS_pubmethodPrimeOutput(Int32, Int32, IDTSBuffer100)

Adds rows to the output buffers in the data flow.

System_CAPS_pubmethodProcessInput(Int32, IDTSBuffer100)

Processes the rows of data that are received in input buffers from upstream components.

System_CAPS_pubmethodProvideComponentProperties()

Initializes or resets the IDTSComponentMetaData100 of the component.

System_CAPS_pubmethodReinitializeMetaData()

Called to allow the component to repair problems with the IDTSComponentMetaData100 object that were identified by the component during the Validate method.

System_CAPS_pubmethodReleaseConnections()

Frees the connections established by the component during AcquireConnections.

System_CAPS_pubmethodSetComponentProperty(String, Object)

Assigns a value to a IDTSCustomProperty100 of the component.

System_CAPS_pubmethodSetExternalMetadataColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

Sets the data type properties of the specified external metadata column.

System_CAPS_pubmethodSetExternalMetadataColumnProperty(Int32, Int32, String, Object)

Sets an individual property on an external metadata column.

System_CAPS_pubmethodSetInputColumnProperty(Int32, Int32, String, Object)

Assigns a value to the IDTSCustomProperty100 of an IDTSInputColumn100 object.

System_CAPS_pubmethodSetInputProperty(Int32, String, Object)

Assigns a value to the IDTSCustomProperty100 of an IDTSInput100 object in the component.

System_CAPS_pubmethodSetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)

Sets the data type properties of an IDTSOutputColumn100 object.

System_CAPS_pubmethodSetOutputColumnProperty(Int32, Int32, String, Object)

Assigns a value to the IDTSCustomProperty100 of an IDTSOutputColumn100 object.

System_CAPS_pubmethodSetOutputProperty(Int32, String, Object)

Call this method to set the IDTSCustomProperty100 of an IDTSOutput100 object of the component.

System_CAPS_pubmethodSetUsageType(Int32, IDTSVirtualInput100, Int32, DTSUsageType)

Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

Verifies that the component is configured correctly and ready to execute.

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.

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

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

CManagedComponentWrapper wrp = md.Instantiate();

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft