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.

页首