DTSBufferManager 接口

Manages IDTSBuffer100 objects.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
<GuidAttribute("E22328E1-02FA-4365-9EDE-120324F715BF")> _
Public Interface DTSBufferManager _
    Inherits IDTSBufferManager100
用法
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

DTSBufferManager 类型公开以下成员。

属性

  名称 说明
公共属性 IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer. (从 IDTSBufferManager100 继承。)

页首

方法

  名称 说明
公共方法 CreateBuffer Creates an IDTSBuffer100 based on the specified buffer type. (从 IDTSBufferManager100 继承。)
公共方法 CreateFlatBuffer Creates an IDTSBuffer100 of the specified size. (从 IDTSBufferManager100 继承。)
公共方法 CreateVirtualBuffer 基础结构。 (从 IDTSBufferManager100 继承。)
公共方法 FindColumnByLineageID Gets the location, by index, of a column in a specified IDTSBuffer100 object. (从 IDTSBufferManager100 继承。)
公共方法 GetBLOBObject Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs). (从 IDTSBufferManager100 继承。)
公共方法 GetColumnCount Gets the number of columns in a specified registered buffer type. (从 IDTSBufferManager100 继承。)
公共方法 GetColumnInfo Gets the DTP_BUFFCOL structure for a column in a specified buffer definition. (从 IDTSBufferManager100 继承。)
公共方法 GetRowWidth Gets the size, in bytes, of the row defined for the buffer type definition. (从 IDTSBufferManager100 继承。)
公共方法 RegisterBufferType Registers a buffer type with an IDTSBufferManager100. (从 IDTSBufferManager100 继承。)
公共方法 RegisterLineageIDs 基础结构。 (从 IDTSBufferManager100 继承。)

页首

注释

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.