After all rows have been transformed or the data pump has been terminated due to errors, the OnTransformComplete method is called to allow the transformation server to release all allocations made for the transformation.
HRESULT OnTransformComplete (
LPBYTE pvTransformServerData,
LPDTSTransformColumnInfo pSrcColumnInfo,
LPDTSTransformColumnInfo pDestColumnInfo,
IDTSDataConvert *pIDTSDataConvert );
Argument | Description |
---|---|
pvTransformServerData [in] | Transform server state data |
pSrcColumnInfo [in/out] | Source column and row data |
pDestColumnInfo [in/out] | Destination column and row data |
*pIDTSDataConvert [in] | Pointer to the data conversion interface |
OnTransformComplete is called only if ValidateSchema completes successfully. OnTransformComplete is not called if the transformation implements IDTSDataPumpTransform2 and IDTSDataPumpTransform2::GetTransformServerInfo indicates the transformation supports DTSTransformPhase_OnPumpComplete phase.