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