Compartir a través de


IDTSBuffer100.PrepareDataStatusForInsert Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Sub PrepareDataStatusForInsert ( _
    hRow As Integer _
)
'Uso
Dim instance As IDTSBuffer100 
Dim hRow As Integer

instance.PrepareDataStatusForInsert(hRow)
void PrepareDataStatusForInsert(
    int hRow
)
void PrepareDataStatusForInsert(
    [InAttribute] int hRow
)
abstract PrepareDataStatusForInsert : 
        hRow:int -> unit
function PrepareDataStatusForInsert(
    hRow : int
)

Parámetros

  • hRow
    Tipo: System.Int32
    The handle of the row to set, or H_ALL if all the rows in the buffer are to be set.

Comentarios

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.

Vea también

Referencia

IDTSBuffer100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper