PipelineComponent::BufferManager Property
Gets the IDTSBufferManager100 of the pipeline component.
This API is not CLS-compliant.
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
public: [CLSCompliantAttribute(false)] property IDTSBufferManager100^ BufferManager { IDTSBufferManager100^ get(); }
Property Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper::IDTSBufferManager100^The IDTSBufferManager100 object.
The BufferManager is a read only, execution-time property that is first available to components in the PreExecute method.
The FindColumnByLineageID method is used to locate a component's columns in the IDTSInputColumnCollection100 or IDTSOutputColumnCollection100 of the component, in the PipelineBuffer. This is necessary because the number of columns contained in the PipelineBuffer may exceed the number of columns expected by the component.
The BufferManager is also used to create new IDTSBuffer100 objects using the CreateBuffer, CreateFlatBuffer, and CreateVirtualBuffer methods. However, these methods are not supported from managed code, and should only be used when writing native C++ components.
The following code example shows how to use the BufferManager property to locate the columns in a PipelineBuffer row.