Bagikan melalui


IDTSBufferManager100 Interface

Creates and 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 IDTSBufferManager100
'Usage
Dim instance As IDTSBufferManager100
[GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")]
public interface IDTSBufferManager100
[GuidAttribute(L"E22328E1-02FA-4365-9EDE-120324F715BF")]
public interface class IDTSBufferManager100
[<GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")>]
type IDTSBufferManager100 =  interface end
public interface IDTSBufferManager100

The IDTSBufferManager100 type exposes the following members.

Properties

  Name Description
Public property IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer.

Top

Methods

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

Top

Remarks

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.