Compartilhar via


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
Propriedade pública Description Gets or sets a text description for the error.
Propriedade pública ErrorCode Gets or sets an error code that identifies the error.
Propriedade pública HelpContext Gets or sets the Help context ID.
Propriedade pública HelpFile Gets or sets the name of the Help file.
Propriedade pública IDOfInterfaceWithError Gets or sets the name of the interface that raised the error.
Propriedade pública Source Gets or sets the identifier of the object that caused the event.
Propriedade pública SubComponent Gets or sets the subcomponent that raised the error.
Propriedade pública TimeStamp Returns the timestamp for when the error occurred. This value is read-only.

Início

Métodos

  Nome Descrição
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetType (Herdado de Object.)
Método público 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.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime