Partager via


Structure tagBUFFERCOL

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Public Structure tagBUFFERCOL
'Utilisation
Dim instance As tagBUFFERCOL
public struct tagBUFFERCOL
public value class tagBUFFERCOL
[<SealedAttribute>]
type tagBUFFERCOL =  struct end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.

Le type tagBUFFERCOL expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Equals (hérité de ValueType.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de ValueType.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de ValueType.)

Haut de la page

Champs

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

Haut de la page

Notes

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.

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.