Класс 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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.