PipelineComponent.GetErrorOutputInfo Method

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

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
Public Function GetErrorOutputInfo ( _
    ByRef iErrorOutputID As Integer, _
    ByRef iErrorOutputIndex As Integer _
) As Boolean
public bool GetErrorOutputInfo (
    ref int iErrorOutputID,
    ref int iErrorOutputIndex
)
public:
bool GetErrorOutputInfo (
    int% iErrorOutputID, 
    int% iErrorOutputIndex
)
public boolean GetErrorOutputInfo (
    /** @ref */ int iErrorOutputID, 
    /** @ref */ int iErrorOutputIndex
)
JScript 不支援以傳址方式傳遞值類型的引數。

參數

  • iErrorOutputID
    Contains the ID of the error IDTSOutput90 when the method returns.
  • iErrorOutputIndex
    Contains the index of the error IDTSOutput90 when the method returns.

傳回值

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

備註

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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace