Compartilhar via


Classe DTSBufferManagerClass

Creates and manages IDTSBuffer100 objects.

Hierarquia de herança

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

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

Sintaxe

'Declaração
<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")> _
<ClassInterfaceAttribute()> _
Public Class DTSBufferManagerClass _
    Implements DTSBufferManager, IDTSBufferManager100
'Uso
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

O tipo DTSBufferManagerClass expõe os membros a seguir.

Construtores

  Nome Descrição
Método público DTSBufferManagerClass Initializes a new instance of the DTSBufferManagerClass.

Início

Propriedades

  Nome Descrição
Propriedade pública IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer.

Início

Métodos

  Nome Descrição
Método público CreateBuffer Creates an IDTSBuffer100 object that is based on the specified buffer type.
Método público CreateFlatBuffer Creates an IDTSBuffer100 of the specified size.
Método público CreateVirtualBuffer Infraestrutura.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público FindColumnByLineageID Gets the location of a column in the specified IDTSBuffer100 object.
Método público GetBLOBObject Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).
Método público GetColumnCount Gets the number of columns in the specified registered buffer type.
Método público GetColumnInfo Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.
Método público GetHashCode (Herdado de Object.)
Método público GetRowWidth Gets the size of the row defined for the buffer type definition.
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público RegisterBufferType Registers a buffer type with the IDTSBufferManager100.
Método público RegisterLineageIDs Infraestrutura.
Método público ToString (Herdado de Object.)

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.