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.

上層