Export (0) Print
Expand All

IDTSBuffer90 Interface

SQL Server 2005

Represents an in-memory, two-dimensional storage object that contains rows and columns.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

[ComConversionLossAttribute] 
[GuidAttribute("DF81E1A6-6D91-498A-8689-0BD75916697D")] 
[InterfaceTypeAttribute(1)] 
public interface IDTSBuffer90
/** @attribute ComConversionLossAttribute() */ 
/** @attribute GuidAttribute("DF81E1A6-6D91-498A-8689-0BD75916697D") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IDTSBuffer90
ComConversionLossAttribute 
GuidAttribute("DF81E1A6-6D91-498A-8689-0BD75916697D") 
InterfaceTypeAttribute(1) 
public interface IDTSBuffer90

The IDTSBuffer90 is an in-memory, two-dimensional data structure that contains rows and columns. Each column in a buffer has information that describes its data type, its offset location in memory in the row, its maximum size, and the lineage ID of the column in a component.

The data in each column is accessed either by using its offset as defined by the DTP_BUFFCOL structure, or by using the SetData and GetData methods, in which the data location of the column in the buffer is defined by handles to its row and column.

There are two types of buffers, private and public, which are created by the IDTSBufferManager90. Private buffers are created when requested by a data flow component and are used internally by the component. Public buffers are provided to the components in the data flow graph and filled and manipulated before arriving at the destination. Public buffers are created, managed, and destroyed by the IDTSBufferManager90.

Buffers are identified by their handles and are 1-based, which means they cannot have a value of zero or null unless they are invalid.

Managed component developers do not typically use the IDTSBuffer90 object unless they intend to create private buffers and implement the code necessary to interoperate between managed code and native code. Instead, they use the managed PipelineBuffer class.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft