Condividi tramite


PipelineBuffer.ColumnCount Property

Gets the number of columns in the PipelineBuffer.

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

Sintassi

'Dichiarazione
Public ReadOnly Property ColumnCount As Integer
public int ColumnCount { get; }
public:
property int ColumnCount {
    int get ();
}
/** @property */
public int get_ColumnCount ()
public function get ColumnCount () : int

Valore proprietà

The number of columns in the PipelineBuffer.

Osservazioni

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.

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