共用方式為


PipelineComponent.GetErrorOutputInfo(Int32, Int32) Method

Definition

Returns the index and ID of the error output of the component.

public:
 bool GetErrorOutputInfo(int % iErrorOutputID, int % iErrorOutputIndex);
public bool GetErrorOutputInfo (ref int iErrorOutputID, ref int iErrorOutputIndex);
member this.GetErrorOutputInfo : int * int -> bool
Public Function GetErrorOutputInfo (ByRef iErrorOutputID As Integer, ByRef iErrorOutputIndex As Integer) As Boolean

Parameters

iErrorOutputID
Int32

Contains the ID of the error IDTSOutput100 when the method returns.

iErrorOutputIndex
Int32

Contains the index of the error IDTSOutput100 when the method returns.

Returns

true if the component has an IDTSOutput100 object with the IsErrorOut property set to true; otherwise, false.

Remarks

GetErrorOutputInfo is a helper function provided by the base class that retrieves the error output of the component. If the component does not have an error output, the method returns false.

For more information, see Using Error Outputs in a Data Flow Component.

Applies to