IDTSBuffer100.PrepareDataStatusForInsert(Int32) 方法

定義

public:
 void PrepareDataStatusForInsert(int hRow);
public void PrepareDataStatusForInsert (int hRow);
abstract member PrepareDataStatusForInsert : int -> unit
Public Sub PrepareDataStatusForInsert (hRow As Integer)

參數

hRow
Int32

備註

這個方法會設定指定資料列中資料行的狀態值。 如果指定 H_ALL ,則會設定緩衝區中所有資料列中的資料行。 如果每個資料行的狀態尚未設定為 DTPSTATUS_ISNull,則會設為 DTPSTATUS_OK

如果緩衝區是輸出緩衝區,就會發生 DTS_E_DIRECTTONONERROROUTPUT 例外狀況。 如果緩衝區是以 BUFF_NOOLEDB 旗標建立的,就會發生錯誤。

適用於