Partager via


IDTSBuffer90.AddRow Method

Adds a new row to an IDTSBuffer90 object.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
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

Paramètres

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

Valeur de retour

The handle for the newly created row.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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