Export (0) Print
Expand All

DtsError Class

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

Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.DtsError

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.

  NameDescription
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.
Top

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

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft