DtsError Class

Contains information about an error that occurred during execution. This class cannot be inherited.


Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public sealed class DtsError : DtsObject

The DtsError type exposes the following members.

Public propertyDescriptionGets or sets a text description for the error.
Public propertyErrorCodeGets or sets an error code that identifies the error.
Public propertyHelpContextGets or sets the Help context ID.
Public propertyHelpFileGets or sets the name of the Help file.
Public propertyIDOfInterfaceWithErrorGets or sets the name of the interface that raised the error.
Public propertySourceGets or sets the identifier of the object that caused the event.
Public propertySubComponentGets or sets the subcomponent that raised the error.
Public propertyTimeStampReturns the timestamp for when the error occurred. This value is read-only.

Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

The collection of errors that occur is found in the DtsErrors collection. This class inherits from DtsObject.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions