共用方式為


IComponentErrorInfo.Component 屬性

Returns the IComponent interface of the object that raised the event.

命名空間:  Microsoft.SqlServer.Dts.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
ReadOnly Property Component As IComponent 
    Get
'用途
Dim instance As IComponentErrorInfo 
Dim value As IComponent 

value = instance.Component
IComponent Component { get; }
property IComponent^ Component {
    IComponent^ get ();
}
abstract Component : IComponent
function get Component () : IComponent

屬性值

型別:System.ComponentModel.IComponent
An IComponent that is the component associated with the error.

備註

The name of the component is found in the SourceComponent property.

請參閱

參考

IComponentErrorInfo 介面

Microsoft.SqlServer.Dts.Design 命名空間