IDTSBuffer90.PrepareDataStatusForInsert Method

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

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
Sub PrepareDataStatusForInsert ( _
    <InAttribute> hRow As Integer _
)
void PrepareDataStatusForInsert (
    [InAttribute] int hRow
)
void PrepareDataStatusForInsert (
    [InAttribute] int hRow
)
void PrepareDataStatusForInsert (
    /** @attribute InAttribute() */ int hRow
)
function PrepareDataStatusForInsert (
    hRow : int
)

參數

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

備註

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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace