Syntax
Parameters
Callback [in] Refers to an object implementing the IProcessingEvents interface that will inform the user of the progress and errors that occurred while writing the data to the data set, and provide a way to abort the operation. You may pass NULL for this parameter. RejectedRecords [out, retval] A pointer to IRejectedDataSetRecords* pointer variable that receives the interface pointer of the output RejectedDataSetRecords object. This object will contain all the data set records that failed to be written into the data set, with error messages explaining the reason for the failure.A record may be rejected because of a non-unique value of the primary key field, an empty value of a required field, etc. For example, if you try to create a business unit record without specifying the CountryCode field, it will be rejected.
