Partager via


Structure DTP_BUFFCOL

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 DTP_BUFFCOL
'Utilisation
Dim instance As DTP_BUFFCOL
public struct DTP_BUFFCOL
public value class DTP_BUFFCOL
[<SealedAttribute>]
type DTP_BUFFCOL =  struct end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.

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

Haut de la page

Notes

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.

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.