次の方法で共有


PipelineBuffer.GetInt32 メソッド

PipelineBuffer 列に格納されている int を取得します。

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

構文

'宣言
Public Function GetInt32 ( _
    columnIndex As Integer _
) As Integer
'使用
Dim instance As PipelineBuffer 
Dim columnIndex As Integer 
Dim returnValue As Integer 

returnValue = instance.GetInt32(columnIndex)
public int GetInt32(
    int columnIndex
)
public:
int GetInt32(
    int columnIndex
)
member GetInt32 : 
        columnIndex:int -> int
public function GetInt32(
    columnIndex : int
) : int

パラメーター

戻り値

型: System.Int32
PipelineBuffer 列に格納されている int。

説明

このメソッドは、Integration Services の DT_I4 データ型に有効です。

列の値が null の場合、PipelineBufferColumnIsNullException を生成します。 null かどうかは IsNull メソッドを呼び出して確認できます。

Integration Services のデータ型と、それぞれのデータ型に対して使用する、PipelineBuffer クラスの対応する Get メソッドおよび Set メソッドの一覧については、「データ フロー内のデータ型の処理」を参照してください。

関連項目

参照

PipelineBuffer クラス

Microsoft.SqlServer.Dts.Pipeline 名前空間