IDTSBufferManager100 Interface

Creates and manages IDTSBuffer100 objects.

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

public interface IDTSBufferManager100

The IDTSBufferManager100 type exposes the following members.

Public propertyIsVirtualGets a value that indicates whether the specified buffer is a virtual buffer.

Public methodCreateBufferCreates an IDTSBuffer100 based on the specified buffer type.
Public methodCreateFlatBufferCreates an IDTSBuffer100 of the specified size.
Public methodCreateVirtualBufferInfrastructure.
Public methodFindColumnByLineageIDGets the location, by index, of a column in a specified IDTSBuffer100 object.
Public methodGetBLOBObjectCreates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).
Public methodGetColumnCountGets the number of columns in a specified registered buffer type.
Public methodGetColumnInfoGets the DTP_BUFFCOL structure for a column in a specified buffer definition.
Public methodGetRowWidthGets the size, in bytes, of the row defined for the buffer type definition.
Public methodRegisterBufferTypeRegisters a buffer type with an IDTSBufferManager100.
Public methodRegisterLineageIDsInfrastructure.

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.

Community Additions