IDTSBuffer100.AddRow Method (IntPtr)


Adds a new row to an IDTSBuffer100 object.

Namespace:   Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

int AddRow(
	IntPtr ppRowStart


Type: System.IntPtr

A pointer to the beginning of the new row in the IDTSBuffer100.

Return Value

Type: System.Int32

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.

Return to top