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 | |
---|---|---|
Description | Gets or sets a text description for the error. | |
ErrorCode | Gets or sets an error code that identifies the error. | |
HelpContext | Gets or sets the Help context ID. | |
HelpFile | Gets or sets the name of the Help file. | |
IDOfInterfaceWithError | Gets or sets the name of the interface that raised the error. | |
Source | Gets or sets the identifier of the object that caused the event. | |
SubComponent | Gets or sets the subcomponent that raised the error. | |
TimeStamp | Returns the timestamp for when the error occurred. This value is read-only. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | Determines whether two object instances are equal. (hérité de DtsObject.) | |
Finalize | (hérité de Object.) | |
GetHashCode | Returns the hash code for this instance. (hérité de DtsObject.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
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.