IDTSBuffer100.Clone Method (IDTSComponentMetaData100)
Creates a private copy of an IDTSBuffer100 object.
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
The IDTSComponentMetaData100 of the component creating the cloned buffer.
Return ValueType: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
An IDTSBuffer100 object that is a copy of the original buffer.
This method creates a private copy of the calling IDTSBuffer100 object that contains all of the columns and rows of the original. The newly created buffer is private to the component that calls the method, which means that the buffer is not managed or monitored by the IDTSBufferManager100. The IDTSBuffer100 must be locked, and cannot be an output buffer, which is a buffer provided to a component in the PrimeOutput method. If the buffer is an output buffer, a DTS_E_BUFFERISNOTPRIMEOUTPUT exception occurs. If the buffer is not locked, a DTS_E_BUFFERNOTLOCKED exception occurs.