TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

PipelineComponent.GetErrorOutputInfo Method (Int32, Int32)

 

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

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

public bool GetErrorOutputInfo(
	ref int iErrorOutputID,
	ref int iErrorOutputIndex
)

Parameters

iErrorOutputID
Type: System.Int32

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

iErrorOutputIndex
Type: System.Int32

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

Return Value

Type: System.Boolean

true if the component has an IDTSOutput100 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.

Return to top
Show:
© 2016 Microsoft