Aracılığıyla paylaş


DTSBufferManagerClass Class

Definition

Creates and manages IDTSBuffer100 objects.

public ref class DTSBufferManagerClass : Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSBufferManager
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("FFFEE930-85A2-4AFA-9E8D-DADB5A16BCF4")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class DTSBufferManagerClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManager
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("92DFF294-21DD-4B6D-810E-6FD4824C825B")]
public class DTSBufferManagerClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManager
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("383E62BE-EC63-4D9C-A0E0-B89E2618AAEF")]
public class DTSBufferManagerClass : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManager
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("FFFEE930-85A2-4AFA-9E8D-DADB5A16BCF4")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type DTSBufferManagerClass = class
    interface DTSBufferManager
    interface IDTSBufferManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("92DFF294-21DD-4B6D-810E-6FD4824C825B")>]
type DTSBufferManagerClass = class
    interface DTSBufferManager
    interface IDTSBufferManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("383E62BE-EC63-4D9C-A0E0-B89E2618AAEF")>]
type DTSBufferManagerClass = class
    interface DTSBufferManager
    interface IDTSBufferManager100
Public Class DTSBufferManagerClass
Implements DTSBufferManager
Inheritance
DTSBufferManagerClass
Attributes
Implements

Remarks

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.

Constructors

DTSBufferManagerClass()

Initializes a new instance of the DTSBufferManagerClass.

Properties

IsVirtual[Int32]

Gets a value that indicates whether the specified buffer is a virtual buffer.

Methods

CreateBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 object that is based on the specified buffer type.

CreateFlatBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

CreateFlatBuffer64(UInt64, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

CreateVirtualBuffer(Int32, Int32)

Creates a virtual IDTSBuffer100 object.

FindColumnByLineageID(Int32, Int32)

Gets the location of a column in the specified IDTSBuffer100 object.

GetBLOBObject(IDTSBLOBObject100)

Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs).

GetColumnCount(Int32)

Gets the number of columns in the specified registered buffer type.

GetColumnInfo(Int32, Int32, DTP_BUFFCOL)

Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.

GetRowWidth(Int32)

Gets the size of the row defined for the buffer type definition.

RegisterBufferType(Int32, DTP_BUFFCOL, Int32, UInt32)

Registers a buffer type with the IDTSBufferManager100.

RegisterLineageIDs(Int32, Int32, Int32)

Registers the specified IDTSBuffer100 object.

Applies to