tagBUFFERCOL Structure

Contains metadata that describes the data stored in a buffer column.

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

Syntax

'Declaration
Public Structure tagBUFFERCOL
'Usage
Dim instance As tagBUFFERCOL
public struct tagBUFFERCOL
public value class tagBUFFERCOL
[<SealedAttribute>]
type tagBUFFERCOL =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The tagBUFFERCOL type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Fields

  Name Description
Public field DataType Specifies the data type of the value contained in the column.
Public field lCodePage Specifies the character set used to interpret the data in a buffer column.
Public field lLengthOffset Indicates the number of bytes from the beginning of a buffer row to the end of the column data.
Public field lMaxLength Indicates the maximum length of the data stored in a buffer column.
Public field lOffset Indicates the number of bytes from the beginning of a buffer row to the beginning of the column data.
Public field lPrecision Indicates the number of decimal places of precision contained in a buffer column.
Public field lScale Indicates the number of decimal places contained in the buffer column.
Public field lStatusOffset Indicates the length in bytes from the beginning of a buffer row to the status value of a column.

Top

Remarks

The columns in an IDTSBuffer100 contain metadata about the column data. This information is represented by the tagBUFFERCOL structure. This structure is retrieved for an individual column by calling the GetColumnInfo method.

The values contained in the fields within the structure reflect the values contained in the IDTSOutputColumn100 that originally inserted the column into the data flow.

Note

The tagBUFFERCOL structure is also represented by the DTP_BUFFCOL and BufferColumn structures. The DTP_BUFFCOL structure is a C++ type definition. When writing managed code, you will use the BufferColumn structure.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.