다음을 통해 공유


AddRow 메서드

Adds a new row to an IDTSBuffer100 object.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Function AddRow ( _
    <OutAttribute> ppRowStart As IntPtr _
) As Integer
‘사용 방법
Dim instance As IDTSBuffer100
Dim ppRowStart As IntPtr
Dim returnValue As Integer

returnValue = instance.AddRow(ppRowStart)
int AddRow(
    IntPtr ppRowStart
)
int AddRow(
    [InAttribute] [OutAttribute] IntPtr ppRowStart
)
abstract AddRow : 
        ppRowStart:IntPtr byref -> int 
function AddRow(
    ppRowStart : IntPtr
) : int

매개 변수

반환 값

유형: 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.