DtsError 类
Contains information about an error that occurred during execution. This class cannot be inherited.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.DtsError
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public NotInheritable Class DtsError _
Inherits DtsObject
用法
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
DtsError 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
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. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | Determines whether two object instances are equal. (从 DtsObject 继承。) |
![]() |
GetHashCode | Returns the hash code for this instance. (从 DtsObject 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
The collection of errors that occur is found in the DtsErrors collection. This class inherits from DtsObject.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。