Share via


IComponentErrorInfo Interface

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

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Public Interface IComponentErrorInfo
'Usage
Dim instance As IComponentErrorInfo
public interface IComponentErrorInfo
public interface class IComponentErrorInfo
type IComponentErrorInfo =  interface end
public interface IComponentErrorInfo

The IComponentErrorInfo type exposes the following members.

Properties

  Name Description
Public property Component Returns the IComponent interface of the object that raised the event.
Public property Description Returns the text of the message.
Public property ErrorCode Returns an Integer that identifies the error message.
Public property HelpContext Returns the identifier of the topic in the Help file.
Public property HelpFile Returns the path to the Help file that contains detailed information.
Public property Level Returns a TraceLevel enumeration value indicating what messages to output for the Debug, Trace and TraceSwitch classes.
Public property SourceComponent Returns the name of the component where the error originated.
Public property SubComponent Returns an arbitrary String that identifies the sub-module within a source: for example, the transform in a Pipeline task.

Top

Methods

  Name Description
Public method GetMessage() Returns a String that contains the error message, component, and the subcomponent, for each error.
Public method GetMessage(Boolean) Returns a String that contains the error message.

Top