Partager via


PipelineComponent.GetErrorOutputInfo Method

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

Espace de noms: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge le passage d'arguments de type valeur par référence.

Paramètres

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

Valeur de retour

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

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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