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