次の方法で共有


IDTSBuffer100.GetStatus メソッド

IDTSBuffer100 の列の状態情報を取得します。

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

構文

'宣言
Sub GetStatus ( _
    hRow As Integer, _
    hCol As Integer, _
    <OutAttribute> ByRef pDBStatus As UInteger _
)
'使用
Dim instance As IDTSBuffer100 
Dim hRow As Integer 
Dim hCol As Integer 
Dim pDBStatus As UInteger

instance.GetStatus(hRow, hCol, pDBStatus)
void GetStatus(
    int hRow,
    int hCol,
    out uint pDBStatus
)
void GetStatus(
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [OutAttribute] unsigned int% pDBStatus
)
abstract GetStatus : 
        hRow:int * 
        hCol:int * 
        pDBStatus:uint32 byref -> unit
function GetStatus(
    hRow : int, 
    hCol : int, 
    pDBStatus : uint
)

パラメーター

説明

このメソッドは、指定した列の OLE DB 状態情報を取得します。 IDTSBuffer100BUFF_NOOLEDB フラグを設定して作成されていない場合、状態は DTPSTATUS_ISNULL または DTPSTATUS_OK です。 それ以外の場合は、列の lStatusOffset の場所に格納されている状態が返されます。 値は、DTPSTATUSENUM 列挙に含まれている値の合計です。

OLE DB は、Integration Services が認識せずに無視する状態値を返す場合があります。 カスタム コンポーネントでは、null 値をチェックするためだけに GetStatus メソッドを使用するようにします。

関連項目

参照

IDTSBuffer100 インターフェイス

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