ErrorDescription Property

DTS Programming

DTS Programming

ErrorDescription Property

The ErrorDescription property specifies a textual description for the error that occurred with the associated object.

Applies To
PackageLogRecord Object StepLogRecord Object
StepLineage Object TaskLogRecord Object
Syntax

object.ErrorDescription

Part Description
object Expression that evaluates to an object in the Applies To list

Data Type

String

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetErrorDescription(BSTR *pRetVal);

Remarks

The following table explains how the interpretation of the ErrorDescription property depends on the object with which it is associated.

Object Description
PackageLogRecord object Error description returned from package Execute method.
StepLineage, StepLogRecord objects Error description returned from step Execute method.
TaskLogRecord object Error description associated with this log record, as determined by the logging task.

See Also

DTSDataPumpError

DTSPackageError

ErrorCode Property