IDTSBufferManager100 Interface


Creates and manages IDTSBuffer100 objects.

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

[TypeLibTypeAttribute(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
public interface IDTSBufferManager100


Gets a value that indicates whether the specified buffer is a virtual buffer.

System_CAPS_pubmethodCreateBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 based on the specified buffer type.

System_CAPS_pubmethodCreateFlatBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

System_CAPS_pubmethodCreateFlatBuffer64(UInt64, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

System_CAPS_pubmethodCreateVirtualBuffer(Int32, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a virtual IDTSBuffer100 object.

System_CAPS_pubmethodFindColumnByLineageID(Int32, Int32)

Gets the location, by index, of a column in a specified IDTSBuffer100 object.


Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).


Gets the number of columns in a specified registered buffer type.

System_CAPS_pubmethodGetColumnInfo(Int32, Int32, DTP_BUFFCOL)

Gets the DTP_BUFFCOL structure for a column in a specified buffer definition.


Gets the size, in bytes, of the row defined for the buffer type definition.

System_CAPS_pubmethodRegisterBufferType(Int32, DTP_BUFFCOL, Int32, UInt32)

Registers a buffer type with an IDTSBufferManager100.

System_CAPS_pubmethodRegisterLineageIDs(Int32, Int32, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Registers the specified IDTSBuffer100 object.

The buffer manager is responsible for allocating, managing, and deleting the IDTSBuffer100 objects used by the data flow task, and the components contained by the task from a source through to the destination. It provides utility functions for registering buffer types, locating columns in a buffer, retrieving metadata about a column in a buffer, and creating private buffers that are used internally by the component that requests the private buffer.

Managed data flow component developers use the buffer manager primarily to locate columns in a PipelineBuffer that were defined in the IDTSInput100 and IDTSOutput100 objects of the component. Managed components do not interact directly with the IDTSBuffer100 objects created by the buffer manager, but instead use the managed PipelineBuffer class that marshals data between managed and native code. As such, the methods of the buffer manager that create IDTSBuffer100 objects are not used by managed component developers.

Return to top