Compartir a través de


Clase DtsError

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
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

El tipo DtsError expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Description Gets or sets a text description for the error.
Propiedad pública ErrorCode Gets or sets an error code that identifies the error.
Propiedad pública HelpContext Gets or sets the Help context ID.
Propiedad pública HelpFile Gets or sets the name of the Help file.
Propiedad pública IDOfInterfaceWithError Gets or sets the name of the interface that raised the error.
Propiedad pública Source Gets or sets the identifier of the object that caused the event.
Propiedad pública SubComponent Gets or sets the subcomponent that raised the error.
Propiedad pública TimeStamp Returns the timestamp for when the error occurred. This value is read-only.

Arriba

Métodos

  Nombre Descripción
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetType (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime