The Add method adds an error record to the errors collection for a transformation.
object.Add(
Number,
NativeError,
Description,
Source,
Helpfile,
Helpid)
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSErrorRecords collection |
| Number | Error number |
| NativeError | Native error code |
| Description | Description of the error |
| Source | Source of the error |
| Helpfile | Name of the help file |
| Helpid | Help context ID within the help file |
HRESULT Add(
long Number,
long NativeError,
BSTR Description,
BSTR Source,
BSTR Helpfile,
long Helpid);