Classe DtsError
Contains information about an error that occurred during execution. This class cannot be inherited.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.DtsError
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
Public NotInheritable Class DtsError _
Inherits DtsObject
'Uso
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
O tipo DtsError expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether two object instances are equal. (Herdado de DtsObject.) | |
GetHashCode | Returns the hash code for this instance. (Herdado de DtsObject.) | |
GetType | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
The collection of errors that occur is found in the DtsErrors collection. This class inherits from DtsObject.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.