Export (0) Print
Expand All

PipelineBuffer.ColumnCount Property

Gets the number of columns in the PipelineBuffer.

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

public int ColumnCount { get; }

Property Value

Type: Int32
The number of columns in the PipelineBuffer.

Most of the time, there are more columns in a PipelineBuffer than are in the input or output of a component. Because of this, developers should not expect to locate a column in a buffer row by using its index in the collection. Instead, the FindColumnByLineageID method of the BufferManager should be called, which returns the location of the input or output column in the buffer row. This value returned from this function contains the location of the column in the buffer.

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

Community Additions

ADD
Show:
© 2014 Microsoft