DTSBufferManagerClass.GetColumnCount メソッド

指定した登録バッファーの種類の列数を取得します。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Public Overridable Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
'使用
Dim instance As DTSBufferManagerClass 
Dim hBufferType As Integer 
Dim returnValue As UInteger 

returnValue = instance.GetColumnCount(hBufferType)
public virtual uint GetColumnCount(
    int hBufferType
)
public:
virtual unsigned int GetColumnCount(
    [InAttribute] int hBufferType
)
abstract GetColumnCount : 
        hBufferType:int -> uint32  
override GetColumnCount : 
        hBufferType:int -> uint32
public function GetColumnCount(
    hBufferType : int
) : uint

パラメーター

  • hBufferType
    型: System.Int32
    登録されたバッファーの ID です。

戻り値

型: System.UInt32
登録された IDTSBuffer100 オブジェクトに対して定義されている列数を指定する Integer です。

実装

IDTSBufferManager100.GetColumnCount(Int32)

説明

GetColumnCount メソッドは、hBufferType パラメーターによって識別された IDTSBuffer100 オブジェクトに対して定義されている列の数を返します。 hBufferType で指定したバッファー定義が存在しない場合は、E_INVALIDARG エラーが発生します。

関連項目

参照

DTSBufferManagerClass クラス

Microsoft.SqlServer.Dts.Pipeline.Wrapper 名前空間