Share via


IComponentErrorInfo.Component Property

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

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

Syntax

'Declaration
ReadOnly Property Component As IComponent
    Get
'Usage
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

Property Value

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

Remarks

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