PipelineBuffer.ColumnCount Property

Gets the number of columns in the PipelineBuffer.

命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

语法

声明
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

属性值

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.

线程安全

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