Condividi tramite


PipelineBuffer.GetColumnInfo Method

Retrieves the BufferColumn structure for a PipelineBuffer column. This method is not CLS-compliant.

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Sintassi

'Dichiarazione
<CLSCompliantAttribute(False)> _
Public Function GetColumnInfo ( _
    columnIndex As Integer _
) As BufferColumn
[CLSCompliantAttribute(false)] 
public BufferColumn GetColumnInfo (
    int columnIndex
)
[CLSCompliantAttribute(false)] 
public:
BufferColumn GetColumnInfo (
    int columnIndex
)
/** @attribute CLSCompliantAttribute(false) */ 
public BufferColumn GetColumnInfo (
    int columnIndex
)
CLSCompliantAttribute(false) 
public function GetColumnInfo (
    columnIndex : int
) : BufferColumn

Parametri

  • columnIndex
    The index of the column whose BufferColumn structure is retrieved.

Valore restituito

The BufferColumn structure of the specified PipelineBuffer column.

Osservazioni

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.

Thread Safety

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace