PipelineBuffer.GetDecimal メソッド

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

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

構文

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

returnValue = instance.GetDecimal(columnIndex)
public decimal GetDecimal(
    int columnIndex
)
public:
Decimal GetDecimal(
    int columnIndex
)
member GetDecimal : 
        columnIndex:int -> decimal
public function GetDecimal(
    columnIndex : int
) : decimal

パラメーター

戻り値

型: System.Decimal
PipelineBuffer 行に格納されている decimal 値。

説明

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

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

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

関連項目

参照

PipelineBuffer クラス

Microsoft.SqlServer.Dts.Pipeline 名前空間