共用方式為


DTSBufferManager Interface

Definition

Manages IDTSBuffer100 objects.

public interface class DTSBufferManager : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBufferManager100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))]
[System.Runtime.InteropServices.Guid("7BBCD0C4-62FE-4AB2-B48E-7B435CD31F98")]
public interface DTSBufferManager : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))]
[System.Runtime.InteropServices.Guid("72F23A2E-1BA0-49EB-BC77-61EC065F7F64")]
public interface DTSBufferManager : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))]
[System.Runtime.InteropServices.Guid("A6E57A91-212D-4611-BC57-6534CFBBADBD")]
public interface DTSBufferManager : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))>]
[<System.Runtime.InteropServices.Guid("7BBCD0C4-62FE-4AB2-B48E-7B435CD31F98")>]
type DTSBufferManager = interface
    interface IDTSBufferManager100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))>]
[<System.Runtime.InteropServices.Guid("72F23A2E-1BA0-49EB-BC77-61EC065F7F64")>]
type DTSBufferManager = interface
    interface IDTSBufferManager100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSBufferManagerClass))>]
[<System.Runtime.InteropServices.Guid("A6E57A91-212D-4611-BC57-6534CFBBADBD")>]
type DTSBufferManager = interface
    interface IDTSBufferManager100
Public Interface DTSBufferManager
Implements IDTSBufferManager100
Derived
Attributes
Implements

Remarks

The buffer manager is responsible for allocating, managing, and deleting the IDTSBuffer100 objects used by the data flow task and the data flow components, 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 that marshals data between managed and native code.

Properties

IsVirtual[Int32]

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

(Inherited from IDTSBufferManager100)

Methods

CreateBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 based on the specified buffer type.

(Inherited from IDTSBufferManager100)
CreateFlatBuffer(Int32, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

(Inherited from IDTSBufferManager100)
CreateFlatBuffer64(UInt64, IDTSComponentMetaData100)

Creates an IDTSBuffer100 of the specified size.

(Inherited from IDTSBufferManager100)
CreateVirtualBuffer(Int32, Int32)

Creates a virtual IDTSBuffer100 object.

(Inherited from IDTSBufferManager100)
FindColumnByLineageID(Int32, Int32)

Gets the location, by index, of a column in a specified IDTSBuffer100 object.

(Inherited from IDTSBufferManager100)
GetBLOBObject(IDTSBLOBObject100)

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

(Inherited from IDTSBufferManager100)
GetColumnCount(Int32)

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

(Inherited from IDTSBufferManager100)
GetColumnInfo(Int32, Int32, DTP_BUFFCOL)

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

(Inherited from IDTSBufferManager100)
GetRowWidth(Int32)

Gets the size, in bytes, of the row defined for the buffer type definition.

(Inherited from IDTSBufferManager100)
RegisterBufferType(Int32, DTP_BUFFCOL, Int32, UInt32)

Registers a buffer type with an IDTSBufferManager100.

(Inherited from IDTSBufferManager100)
RegisterLineageIDs(Int32, Int32, Int32)

Registers the specified IDTSBuffer100 object.

(Inherited from IDTSBufferManager100)

Applies to