Share via


DTP_BUFFCOL 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 DTP_BUFFCOL
'Usage
Dim instance As DTP_BUFFCOL
public struct DTP_BUFFCOL
public value class DTP_BUFFCOL
[<SealedAttribute>]
type DTP_BUFFCOL =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The DTP_BUFFCOL 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 values stored in a buffer column.
Public field lCodePage Specifies the character set used to interpret the data in a buffer column.
Public field lLengthOffset Gets the number of bytes from the beginning of a row to the length of the column.
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 row to where the column data begins.
Public field lPrecision Indicates the number of decimal places of the numeric data in a buffer column.
Public field lScale Indicates the scale of numeric data in a column.
Public field lStatusOffset Indicates the offset from the beginning of a buffer row to the status value for a column.

Top

Remarks

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

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

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.