次の方法で共有


IDTSBuffer100.DirectErrorRow メソッド

IDTSBuffer100 オブジェクトの行を、IsErrorOut プロパティが true である IDTSOutput100 に送信します。

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

構文

'宣言
Sub DirectErrorRow ( _
    hRow As Integer, _
    lOutputID As Integer, _
    lErrorCode As Integer, _
    lErrorColumn As Integer _
)
'使用
Dim instance As IDTSBuffer100 
Dim hRow As Integer 
Dim lOutputID As Integer 
Dim lErrorCode As Integer 
Dim lErrorColumn As Integer

instance.DirectErrorRow(hRow, lOutputID, _
    lErrorCode, lErrorColumn)
void DirectErrorRow(
    int hRow,
    int lOutputID,
    int lErrorCode,
    int lErrorColumn
)
void DirectErrorRow(
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
abstract DirectErrorRow : 
        hRow:int * 
        lOutputID:int * 
        lErrorCode:int * 
        lErrorColumn:int -> unit
function DirectErrorRow(
    hRow : int, 
    lOutputID : int, 
    lErrorCode : int, 
    lErrorColumn : int
)

パラメーター

  • hRow
    型: System.Int32
    送信される行のハンドルです。
  • lErrorCode
    型: System.Int32
    エラー状況を識別する、コンポーネント定義のエラー コードです。
  • lErrorColumn
    型: System.Int32
    エラー状況の原因になった列のインデックスです。

説明

このメソッドは、IsErrorOut プロパティで識別されたエラーの IDTSOutput100 オブジェクトを持つデータ フロー コンポーネントによって使用されます。 コンポーネントがバッファー内の列を処理中にエラーを検出し、コンポーネントのユーザーが列または行の ErrorRowDispositionRD_RedirectRow に設定していた場合に呼び出されます。

マネージ コンポーネントを開発する場合は、このメソッドを呼び出すのではなく、代わりにマネージ PipelineBuffer クラスの DirectErrorRow メソッドを使用します。

関連項目

参照

IDTSBuffer100 インターフェイス

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