DTSBufferManagerClass 类

Creates and manages IDTSBuffer100 objects.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Pipeline.Wrapper..::..DTSBufferManagerClass

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

语法

声明
<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")> _
<ClassInterfaceAttribute()> _
Public Class DTSBufferManagerClass _
    Implements DTSBufferManager, IDTSBufferManager100
用法
Dim instance As DTSBufferManagerClass
[GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")]
[ClassInterfaceAttribute()]
public class DTSBufferManagerClass : DTSBufferManager, 
    IDTSBufferManager100
[GuidAttribute(L"87A4C985-0E84-432C-AC1A-B6F49A04ED4F")]
[ClassInterfaceAttribute()]
public ref class DTSBufferManagerClass : DTSBufferManager, 
    IDTSBufferManager100
[<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")>]
[<ClassInterfaceAttribute()>]
type DTSBufferManagerClass =  
    class
        interface DTSBufferManager
        interface IDTSBufferManager100
    end
public class DTSBufferManagerClass implements DTSBufferManager, IDTSBufferManager100

DTSBufferManagerClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 DTSBufferManagerClass Initializes a new instance of the DTSBufferManagerClass.

页首

属性

  名称 说明
公共属性 IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer.

页首

方法

  名称 说明
公共方法 CreateBuffer Creates an IDTSBuffer100 object that is based on the specified buffer type.
公共方法 CreateFlatBuffer Creates an IDTSBuffer100 of the specified size.
公共方法 CreateVirtualBuffer 基础结构。
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 FindColumnByLineageID Gets the location of a column in the specified IDTSBuffer100 object.
公共方法 GetBLOBObject Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).
公共方法 GetColumnCount Gets the number of columns in the specified registered buffer type.
公共方法 GetColumnInfo Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetRowWidth Gets the size of the row defined for the buffer type definition.
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 RegisterBufferType Registers a buffer type with the IDTSBufferManager100.
公共方法 RegisterLineageIDs 基础结构。
公共方法 ToString (从 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 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, which marshals data between managed and native code.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。