DtsError Class
Contains information about an error that occurred during execution. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.DtsError
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public NotInheritable Class DtsError _
Inherits DtsObject
'Usage
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
The DtsError type exposes the following members.
Properties
Name | 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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two object instances are equal. (Inherited from DtsObject.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from DtsObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
The collection of errors that occur is found in the DtsErrors collection. This class inherits from DtsObject.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.