共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。