共用方式為


DTSBufferManagerClass.GetColumnCount Method

Gets the number of columns in the specified registered buffer type.

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

語法

'宣告
<DispIdAttribute(123)> _
Public Overridable Function GetColumnCount ( _
    <InAttribute> hBufferType As Integer _
) As UInteger Implements IDTSBufferManager90.GetColumnCount
[DispIdAttribute(123)] 
public virtual uint IDTSBufferManager90.GetColumnCount (
    [InAttribute] int hBufferType
)
[DispIdAttribute(123)] 
public:
virtual unsigned int GetColumnCount (
    [InAttribute] int hBufferType
) = IDTSBufferManager90::GetColumnCount
J# 支援明確介面實作的使用,但不支援新明確介面實作的宣告。
JScript 支援明確介面實作的使用,但不支援新明確介面實作的宣告。

參數

  • hBufferType
    The ID of the registered buffer.

傳回值

An Integer that specifies the number of columns defined for the registered IDTSBuffer90 object.

備註

The GetColumnCount method returns the number of columns defined for the IDTSBuffer90 object identified by the hBufferType parameter. If the buffer definition specified by hBufferType does not exist, an E_INVALIDARG error occurs.

執行緒安全性

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

請參閱

參考

DTSBufferManagerClass Class
DTSBufferManagerClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace