IDTSBuffer90.GetColumnCount Method

Gets the number of columns in an IDTSBuffer90.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
Function GetColumnCount As UInteger
uint GetColumnCount ()
unsigned int GetColumnCount ()
UInt32 GetColumnCount ()
function GetColumnCount () : uint

傳回值

An unsigned integer that contains the number of columns in the IDTSBuffer90.

備註

This method returns the number of columns contained in the IDTSBuffer90. If the buffer was created using the CreateFlatBuffer method, the method fails and a DTS_E_BUFFERISFLAT exception is thrown.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace