Classe DTSBufferManagerClass

Creates and manages IDTSBuffer100 objects.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")> _
<ClassInterfaceAttribute()> _
Public Class DTSBufferManagerClass _
    Implements DTSBufferManager, IDTSBufferManager100
'Utilisation
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

Le type DTSBufferManagerClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DTSBufferManagerClass Initializes a new instance of the DTSBufferManagerClass.

Haut de la page

Propriétés

  Nom Description
Propriété publique IsVirtual Gets a value that indicates whether the specified buffer is a virtual buffer.

Haut de la page

Méthodes

  Nom Description
Méthode publique CreateBuffer Creates an IDTSBuffer100 object that is based on the specified buffer type.
Méthode publique CreateFlatBuffer Creates an IDTSBuffer100 of the specified size.
Méthode publique CreateVirtualBuffer Infrastructure.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique FindColumnByLineageID Gets the location of a column in the specified IDTSBuffer100 object.
Méthode publique GetBLOBObject Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).
Méthode publique GetColumnCount Gets the number of columns in the specified registered buffer type.
Méthode publique GetColumnInfo Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetRowWidth Gets the size of the row defined for the buffer type definition.
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique RegisterBufferType Registers a buffer type with the IDTSBufferManager100.
Méthode publique RegisterLineageIDs Infrastructure.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.