Partager via


Méthode PipelineBuffer.GetColumnInfo

Retrieves the BufferColumn structure for a PipelineBuffer column.

Cette API n'est pas conforme CLS. 

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

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Function GetColumnInfo ( _
    columnIndex As Integer _
) As BufferColumn
'Utilisation
Dim instance As PipelineBuffer 
Dim columnIndex As Integer 
Dim returnValue As BufferColumn 

returnValue = instance.GetColumnInfo(columnIndex)
[CLSCompliantAttribute(false)]
public BufferColumn GetColumnInfo(
    int columnIndex
)
[CLSCompliantAttribute(false)]
public:
BufferColumn GetColumnInfo(
    int columnIndex
)
[<CLSCompliantAttribute(false)>]
member GetColumnInfo : 
        columnIndex:int -> BufferColumn
public function GetColumnInfo(
    columnIndex : int
) : BufferColumn

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Dts.Pipeline.BufferColumn
The BufferColumn structure of the specified PipelineBuffer column.

Notes

The BufferColumn contains information about the data stored in a PipelineBuffer column. This information can be used to prevent exceptions that might occur when assigning data to the buffer column. For example, columns with a fixed length such as the DT_STR, DT_TEXT, DT_WSTR, and DT_BYTES data types will fail if the data length is greater than the MaxLength of the BufferColumn.

Voir aussi

Référence

PipelineBuffer Classe

Espace de noms Microsoft.SqlServer.Dts.Pipeline