Поделиться через


Интерфейс IComponentErrorInfo

Provides detailed information about an error or warning event generated by SSIS control flow or data flow components during design.

Пространство имен:  Microsoft.SqlServer.Dts.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
Public Interface IComponentErrorInfo
'Применение
Dim instance As IComponentErrorInfo
public interface IComponentErrorInfo
public interface class IComponentErrorInfo
type IComponentErrorInfo =  interface end
public interface IComponentErrorInfo

Тип IComponentErrorInfo обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Component Returns the IComponent interface of the object that raised the event.
Открытое свойство Description Returns the text of the message.
Открытое свойство ErrorCode Returns an Integer that identifies the error message.
Открытое свойство HelpContext Returns the identifier of the topic in the Help file.
Открытое свойство HelpFile Returns the path to the Help file that contains detailed information.
Открытое свойство Level Returns a TraceLevel enumeration value indicating what messages to output for the Debug, Trace and TraceSwitch classes.
Открытое свойство SourceComponent Returns the name of the component where the error originated.
Открытое свойство SubComponent Returns an arbitrary String that identifies the sub-module within a source: for example, the transform in a Pipeline task.

В начало

Методы

  Имя Описание
Открытый метод GetMessage() () () () Returns a String that contains the error message, component, and the subcomponent, for each error.
Открытый метод GetMessage(Boolean) Returns a String that contains the error message.

В начало