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 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。