This topic has not yet been rated - Rate this topic

DtsError Class

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

System.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.

  Name Description
Public property Description Gets or sets a text description for the error.
Public property ErrorCode Gets or sets an error code that identifies the error.
Public property HelpContext Gets or sets the Help context ID.
Public property HelpFile Gets or sets the name of the Help file.
Public property IDOfInterfaceWithError Gets or sets the name of the interface that raised the error.
Public property Source Gets or sets the identifier of the object that caused the event.
Public property SubComponent Gets or sets the subcomponent that raised the error.
Public property TimeStamp Returns the timestamp for when the error occurred. This value is read-only.
Top
  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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.
Did you find this helpful?
(1500 characters remaining)