Export (0) Print
Expand All

PipelineBuffer.GetColumnInfo Method

Retrieves the BufferColumn structure for a PipelineBuffer column.

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

[CLSCompliantAttribute(false)]
public BufferColumn GetColumnInfo(
	int columnIndex
)

Parameters

columnIndex
Type: Int32
The index of the column whose BufferColumn structure is retrieved.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.BufferColumn
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft