PipelineBuffer.GetColumnInfo Method

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

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
<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

參數

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

傳回值

The BufferColumn structure of the specified PipelineBuffer column.

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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