PipelineBuffer.GetInt16 メソッド

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

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

構文

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

returnValue = instance.GetInt16(columnIndex)
public short GetInt16(
    int columnIndex
)
public:
short GetInt16(
    int columnIndex
)
member GetInt16 : 
        columnIndex:int -> int16
public function GetInt16(
    columnIndex : int
) : short

パラメーター

戻り値

型: System.Int16
PipelineBuffer 列に格納されている short。

説明

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

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

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

関連項目

参照

PipelineBuffer クラス

Microsoft.SqlServer.Dts.Pipeline 名前空間