IDTSBuffer90.AddRow Method

Adds a new row to an IDTSBuffer90 object.

命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

语法

声明
Function AddRow ( _
    <InAttribute> <OutAttribute> ppRowStart As IntPtr _
) As Integer
int AddRow (
    [InAttribute] [OutAttribute] IntPtr ppRowStart
)
int AddRow (
    [InAttribute] [OutAttribute] IntPtr ppRowStart
)
int AddRow (
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ IntPtr ppRowStart
)
function AddRow (
    ppRowStart : IntPtr
) : int

参数

  • ppRowStart
    A pointer to the beginning of the new row in the IDTSBuffer90.

返回值

The handle for the newly created row.

备注

When this method is called, a new row is allocated in the buffer and a pointer to the row is returned. This method is called by source components and components with asynchronous outputs to fill the buffer.

If the buffer is an input buffer, which is a buffer provided to a component using the ProcessInput method, a DTS_E_BUFFERISFLAT exception occurs.

Managed component developers do not call this method, but instead use the AddRow method of the PipelineBuffer managed class.

线程安全

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