Compartilhar via


Propriedade do RDL PipelineBuffer.ColumnCount

Gets the number of columns in the PipelineBuffer.

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

Sintaxe

'Declaração
Public ReadOnly Property ColumnCount As Integer 
    Get
'Uso
Dim instance As PipelineBuffer 
Dim value As Integer 

value = instance.ColumnCount
public int ColumnCount { get; }
public:
property int ColumnCount {
    int get ();
}
member ColumnCount : int
function get ColumnCount () : int

Valor da propriedade

Tipo: System.Int32
The number of columns in the PipelineBuffer.

Comentários

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.

Consulte também

Referência

PipelineBuffer Classe

Namespace Microsoft.SqlServer.Dts.Pipeline