Share via


IDTSBuffer100.PrepareDataStatusForInsert(Int32) Method

Definition

Sets the status value of the columns in a range of rows.

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

Parameters

hRow
Int32

The handle of the row to set, or H_ALL if all the rows in the buffer are to be set.

Remarks

This method sets the status value of the columns in the specified row. If H_ALL is specified, the columns in all the rows in the buffer are set. The status of each column, if not already set to DTPSTATUS_ISNULL, is set to DTPSTATUS_OK.

If the buffer is an output buffer, an DTS_E_DIRECTTONONERROROUTPUT exception occurs. If the buffer was created with the BUFF_NOOLEDB flag, an error occurs.

Applies to