PipelineBuffer.GetTime(Int32) メソッド

定義

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

public:
 TimeSpan GetTime(int columnIndex);
public TimeSpan GetTime (int columnIndex);
member this.GetTime : int -> TimeSpan
Public Function GetTime (columnIndex As Integer) As TimeSpan

パラメーター

columnIndex
Int32

PipelineBuffer 行の列のインデックス。

戻り値

列に格納されている PipelineBuffer TimeSpan 値。

注釈

このメソッドは、次の Integration Services データ型で動作します。

GetTime メソッドは、TimeSpan データ型および DT_DBTIME データ型の列の DT_DBTIME2 値を取得します。

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

Integration Services データ型の完全な一覧と、各型で使用するクラスのPipelineBuffer対応するGetSetメソッドについては、「Data Flowでのデータ型の操作」を参照してください。

適用対象