Add Method

DTS Programming

DTS Programming

Add Method

The Add method adds an error record to the errors collection for a transformation.

Applies To
DTSErrorRecords Collection
Syntax

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

Prototype (C/C++)

HRESULT Add(
    long Number,
    long NativeError,
    BSTR Description,
    BSTR Source,
    BSTR Helpfile,
    long Helpid);

See Also

Clear Method