Classe DtsError

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class DtsError _
    Inherits DtsObject
'Utilisation
Dim instance As DtsError
public sealed class DtsError : DtsObject
public ref class DtsError sealed : public DtsObject
[<SealedAttribute>]
type DtsError =  
    class
        inherit DtsObject
    end
public final class DtsError extends DtsObject

Le type DtsError expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Description Gets or sets a text description for the error.
Propriété publique ErrorCode Gets or sets an error code that identifies the error.
Propriété publique HelpContext Gets or sets the Help context ID.
Propriété publique HelpFile Gets or sets the name of the Help file.
Propriété publique IDOfInterfaceWithError Gets or sets the name of the interface that raised the error.
Propriété publique Source Gets or sets the identifier of the object that caused the event.
Propriété publique SubComponent Gets or sets the subcomponent that raised the error.
Propriété publique TimeStamp Returns the timestamp for when the error occurred. This value is read-only.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.