Delen via


DTSBufferManager Interface

Manages IDTSBuffer100 objects.

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

Syntax

'Declaration
<GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")> _
Public Interface DTSBufferManager _
    Inherits IDTSBufferManager100
'Usage
Dim instance As DTSBufferManager
[GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")]
public interface DTSBufferManager : IDTSBufferManager100
[GuidAttribute(L"E22328E1-02FA-4365-9EDE-120324F715BF")]
public interface class DTSBufferManager : IDTSBufferManager100
[<GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")>]
type DTSBufferManager =  
    interface
        interface IDTSBufferManager100
    end
public interface DTSBufferManager extends IDTSBufferManager100

The DTSBufferManager type exposes the following members.

Properties

  Name Description
Public property IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer. (Inherited from IDTSBufferManager100.)

Top

Methods

  Name Description
Public method CreateBuffer Creates an IDTSBuffer100 based on the specified buffer type. (Inherited from IDTSBufferManager100.)
Public method CreateFlatBuffer Creates an IDTSBuffer100 of the specified size. (Inherited from IDTSBufferManager100.)
Public method CreateVirtualBuffer Infrastructure. (Inherited from IDTSBufferManager100.)
Public method FindColumnByLineageID Gets the location, by index, of a column in a specified IDTSBuffer100 object. (Inherited from IDTSBufferManager100.)
Public method GetBLOBObject Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs). (Inherited from IDTSBufferManager100.)
Public method GetColumnCount Gets the number of columns in a specified registered buffer type. (Inherited from IDTSBufferManager100.)
Public method GetColumnInfo Gets the DTP_BUFFCOL structure for a column in a specified buffer definition. (Inherited from IDTSBufferManager100.)
Public method GetRowWidth Gets the size, in bytes, of the row defined for the buffer type definition. (Inherited from IDTSBufferManager100.)
Public method RegisterBufferType Registers a buffer type with an IDTSBufferManager100. (Inherited from IDTSBufferManager100.)
Public method RegisterLineageIDs Infrastructure. (Inherited from IDTSBufferManager100.)

Top

Remarks

The buffer manager is responsible for allocating, managing, and deleting the IDTSBuffer100 objects used by the data flow task and the data flow components, 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 component developers do not use the buffer manager to create IDTSBuffer100 objects because managed components do not interact directly with the IDTSBuffer100 objects created by the buffer manager. Managed components use the managed PipelineBuffer class that marshals data between managed and native code.