共用方式為


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("26D38582-1304-4A82-AD14-8DC8C09E6233")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class DTSBufferManagerClass _
    Implements DTSBufferManager, IDTSBufferManager100
'用途
Dim instance As DTSBufferManagerClass
[GuidAttribute("26D38582-1304-4A82-AD14-8DC8C09E6233")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class DTSBufferManagerClass : DTSBufferManager, 
    IDTSBufferManager100
[GuidAttribute(L"26D38582-1304-4A82-AD14-8DC8C09E6233")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class DTSBufferManagerClass : DTSBufferManager, 
    IDTSBufferManager100
[<GuidAttribute("26D38582-1304-4A82-AD14-8DC8C09E6233")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
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.
公用方法 CreateFlatBuffer64 Creates an IDTSBuffer100 of the specified size.
公用方法 CreateVirtualBuffer 基礎結構。Creates a virtual IDTSBuffer100 object.
公用方法 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 基礎結構。Registers the specified IDTSBuffer100 object.
公用方法 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間