Freigeben über


IComponentErrorInfo-Schnittstelle

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

Der IComponentErrorInfo-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode GetMessage() () () () Returns a String that contains the error message, component, and the subcomponent, for each error.
Öffentliche Methode GetMessage(Boolean) Returns a String that contains the error message.

Zum Anfang